@@ -39,7 +39,6 @@ impl Trait for Foo {
39
39
const Y : u32 = 0 ;
40
40
}
41
41
42
-
43
42
impl implementors:: Whatever for Foo {
44
43
type Foo = u32 ;
45
44
}
@@ -58,8 +57,10 @@ pub mod sub_mod {
58
57
pub mod long_trait {
59
58
use std:: ops:: DerefMut ;
60
59
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
+ }
63
64
}
64
65
65
66
pub mod long_table {
@@ -88,18 +89,28 @@ pub mod summary_table {
88
89
}
89
90
90
91
pub 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
+ }
98
109
99
- impl SuperIncrediblyLongLongLongLongLongLongLongGigaGigaGigaMegaLongLongLongStructName {
100
- /// ```
101
- /// let x = SuperIncrediblyLongLongLongLongLongLongLongGigaGigaGigaMegaLongLongLongStructName { a: 0 };
102
- /// ```
110
+ impl SuperIncrediblyLongLongLongLongLongLongLongGigaGigaGigaMegaLongLongLongStructName {
111
+ /// ```
112
+ /// let x = SuperIncrediblyLongLongLongLongLongLongLongGigaGigaGigaMegaLongLongLongStructName { a: 0 };
113
+ /// ```
103
114
pub fn foo ( & self ) { }
104
115
}
105
116
}
0 commit comments