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/doc-alias.rs | |
| parent | 98d65d62c511777d6372ae0115d40f82d0a42857 (diff) | |
| download | rust-c6fb703c05a47a7f20c59c5315fe704c536084d0.tar.gz rust-c6fb703c05a47a7f20c59c5315fe704c536084d0.zip | |
rustfmt `tests/rustdoc-js/`.
Diffstat (limited to 'tests/rustdoc-js/doc-alias.rs')
| -rw-r--r-- | tests/rustdoc-js/doc-alias.rs | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/tests/rustdoc-js/doc-alias.rs b/tests/rustdoc-js/doc-alias.rs index 750b7b757bc..453b55c956c 100644 --- a/tests/rustdoc-js/doc-alias.rs +++ b/tests/rustdoc-js/doc-alias.rs @@ -16,7 +16,9 @@ impl Trait for Struct { const AssociatedConst: i32 = 12; #[doc(alias = "ImplTraitFunction")] - fn function() -> Self::Target { 0 } + fn function() -> Self::Target { + 0 + } } #[doc(alias = "EnumItem")] @@ -71,5 +73,5 @@ impl Union { #[doc(alias = "MacroItem")] #[macro_export] macro_rules! Macro { - () => {} + () => {}; } |
