1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
use displaydoc::Display; #[derive(Display)] /// Multi /// line /// doc /// with /// line /// break /// /// is /// pretty /// not /// swell /// 😞👊 struct TestType; static_assertions::assert_impl_all!(TestType: core::fmt::Display); fn main() {}