Debian Codegraph @

debian/rust-vendor/displaydoc/tests/ui/multi_line.rs

raw
1 use displaydoc::Display;
2
3 /// this type is pretty swell
4 #[derive(Display)]
5 enum TestType {
6 /// This one is okay
7 Variant1,
8
9 /// Multi
10 /// line
11 /// doc
12 /// is
13 /// pretty
14 /// swell
15 Variant2,
16 }
17
18 static_assertions::assert_impl_all!(TestType: core::fmt::Display);
19
20 fn main() {}