diff options
| author | Nicholas Nethercote <n.nethercote@gmail.com> | 2024-06-03 17:35:56 +1000 |
|---|---|---|
| committer | Nicholas Nethercote <n.nethercote@gmail.com> | 2024-06-04 14:15:06 +1000 |
| commit | c6fb703c05a47a7f20c59c5315fe704c536084d0 (patch) | |
| tree | 08d610a0b2d7fb99c745ae61f36d3cb685b62094 /tests/rustdoc-js/full-path-function.rs | |
| parent | 98d65d62c511777d6372ae0115d40f82d0a42857 (diff) | |
| download | rust-c6fb703c05a47a7f20c59c5315fe704c536084d0.tar.gz rust-c6fb703c05a47a7f20c59c5315fe704c536084d0.zip | |
rustfmt `tests/rustdoc-js/`.
Diffstat (limited to 'tests/rustdoc-js/full-path-function.rs')
| -rw-r--r-- | tests/rustdoc-js/full-path-function.rs | 20 |
1 files changed, 15 insertions, 5 deletions
diff --git a/tests/rustdoc-js/full-path-function.rs b/tests/rustdoc-js/full-path-function.rs index 8dcc3f2b69d..a1a9220654d 100644 --- a/tests/rustdoc-js/full-path-function.rs +++ b/tests/rustdoc-js/full-path-function.rs @@ -2,16 +2,26 @@ pub mod sac { pub struct Sac; impl Sac { - pub fn len(&self) -> usize { 0 } + pub fn len(&self) -> usize { + 0 + } } } pub mod b { pub struct Sac; impl Sac { - pub fn len(&self) -> usize { 0 } - pub fn bar(&self, w: u32) -> usize { 0 } - pub fn bar2(&self, w: u32) -> u32 { 0 } - pub fn string(w: String) -> u32 { 0 } + pub fn len(&self) -> usize { + 0 + } + pub fn bar(&self, w: u32) -> usize { + 0 + } + pub fn bar2(&self, w: u32) -> u32 { + 0 + } + pub fn string(w: String) -> u32 { + 0 + } } } |
