@@ -39,7 +39,6 @@ impl Trait for Foo {
3939 const Y : u32 = 0 ;
4040}
4141
42-
4342impl implementors:: Whatever for Foo {
4443 type Foo = u32 ;
4544}
@@ -58,8 +57,10 @@ pub mod sub_mod {
5857pub mod long_trait {
5958 use std:: ops:: DerefMut ;
6059
61- pub trait ALongNameBecauseItHelpsTestingTheCurrentProblem : DerefMut < Target = u32 >
62- + From < u128 > + Send + Sync + AsRef < str > + ' static { }
60+ pub trait ALongNameBecauseItHelpsTestingTheCurrentProblem :
61+ DerefMut < Target = u32 > + From < u128 > + Send + Sync + AsRef < str > + ' static
62+ {
63+ }
6364}
6465
6566pub mod long_table {
@@ -88,18 +89,28 @@ pub mod summary_table {
8889}
8990
9091pub mod too_long {
91- pub type ReallyLongTypeNameLongLongLong = Option < unsafe extern "C" fn ( a : * const u8 , b : * const u8 ) -> * const u8 > ;
92-
93- pub const ReallyLongTypeNameLongLongLongConstBecauseWhyNotAConstRightGigaGigaSupraLong : u32 = 0 ;
94-
95- pub struct SuperIncrediblyLongLongLongLongLongLongLongGigaGigaGigaMegaLongLongLongStructName {
96- pub a : u32 ,
97- }
92+ pub type ReallyLongTypeNameLongLongLong =
93+ Option < unsafe extern "C" fn ( a : * const u8 , b : * const u8 ) -> * const u8 > ;
94+
95+ pub const ReallyLongTypeNameLongLongLongConstBecauseWhyNotAConstRightGigaGigaSupraLong : u32 = 0 ;
96+
97+ /// This also has a really long doccomment. Lorem ipsum dolor sit amet,
98+ /// consectetur adipiscing elit. Suspendisse id nibh malesuada, hendrerit
99+ /// massa vel, tincidunt est. Nulla interdum, sem ac efficitur ornare, arcu
100+ /// nunc dignissim nibh, at rutrum diam augue ac mauris. Fusce tincidunt et
101+ /// ligula sed viverra. Aenean sed facilisis dui, non volutpat felis. In
102+ /// vitae est dui. Donec felis nibh, blandit at nibh eu, tempor suscipit
103+ /// nisl. Vestibulum ornare porta libero, eu faucibus purus iaculis ut. Ut
104+ /// quis tincidunt nunc, in mollis purus. Nulla sed interdum quam. Nunc
105+ /// vitae cursus ex.
106+ pub struct SuperIncrediblyLongLongLongLongLongLongLongGigaGigaGigaMegaLongLongLongStructName {
107+ pub a : u32 ,
108+ }
98109
99- impl SuperIncrediblyLongLongLongLongLongLongLongGigaGigaGigaMegaLongLongLongStructName {
100- /// ```
101- /// let x = SuperIncrediblyLongLongLongLongLongLongLongGigaGigaGigaMegaLongLongLongStructName { a: 0 };
102- /// ```
110+ impl SuperIncrediblyLongLongLongLongLongLongLongGigaGigaGigaMegaLongLongLongStructName {
111+ /// ```
112+ /// let x = SuperIncrediblyLongLongLongLongLongLongLongGigaGigaGigaMegaLongLongLongStructName { a: 0 };
113+ /// ```
103114 pub fn foo ( & self ) { }
104115 }
105116}
0 commit comments