about summary refs log tree commit diff
path: root/tests/rustdoc-js/reference.rs
diff options
context:
space:
mode:
authorNicholas Nethercote <n.nethercote@gmail.com>2024-06-03 17:35:56 +1000
committerNicholas Nethercote <n.nethercote@gmail.com>2024-06-04 14:15:06 +1000
commitc6fb703c05a47a7f20c59c5315fe704c536084d0 (patch)
tree08d610a0b2d7fb99c745ae61f36d3cb685b62094 /tests/rustdoc-js/reference.rs
parent98d65d62c511777d6372ae0115d40f82d0a42857 (diff)
downloadrust-c6fb703c05a47a7f20c59c5315fe704c536084d0.tar.gz
rust-c6fb703c05a47a7f20c59c5315fe704c536084d0.zip
rustfmt `tests/rustdoc-js/`.
Diffstat (limited to 'tests/rustdoc-js/reference.rs')
-rw-r--r--tests/rustdoc-js/reference.rs16
1 files changed, 12 insertions, 4 deletions
diff --git a/tests/rustdoc-js/reference.rs b/tests/rustdoc-js/reference.rs
index 3a0a23c65d5..93b2a6df8e6 100644
--- a/tests/rustdoc-js/reference.rs
+++ b/tests/rustdoc-js/reference.rs
@@ -7,13 +7,17 @@ pub fn pinky(input: &usize, manage: usize) {
 pub struct Thumb;
 
 impl Thumb {
-    pub fn up(&self, finger: Thumb) { unimplemented!() }
+    pub fn up(&self, finger: Thumb) {
+        unimplemented!()
+    }
 }
 
 pub enum Index {}
 
 impl Index {
-    pub fn point(self, data: &Index) { unimplemented!() }
+    pub fn point(self, data: &Index) {
+        unimplemented!()
+    }
 }
 
 pub union Ring {
@@ -22,11 +26,15 @@ pub union Ring {
 }
 
 impl Ring {
-    pub fn wear(&mut self, extra: &Ring) { unimplemented!() }
+    pub fn wear(&mut self, extra: &Ring) {
+        unimplemented!()
+    }
 }
 
 extern "C" {
     pub type Middle;
 }
 
-pub fn show(left: &&mut Middle, right: &mut &Middle) { unimplemented!() }
+pub fn show(left: &&mut Middle, right: &mut &Middle) {
+    unimplemented!()
+}