]>
Commit | Line | Data |
---|---|---|
f20569fa XL |
1 | // rustfmt-reorder_impl_items: true |
2 | ||
3 | impl<T> IntoIterator for SafeVec<T> { | |
4 | type Bar = u32; | |
5 | type BarFoo = u32; | |
6 | type FooBar = u32; | |
7 | // comment on FoooooBar | |
8 | type FoooooBar = u32; | |
9 | type IntoIter = self::IntoIter<T>; | |
10 | type Item = T; | |
11 | ||
12 | type E = impl Trait; | |
13 | type F = impl Trait; | |
14 | ||
15 | const AnotherConst: i32 = 100; | |
16 | const SomeConst: i32 = 100; | |
17 | ||
18 | // comment on foo() | |
19 | fn foo() { | |
20 | println!("hello, world"); | |
21 | } | |
22 | ||
23 | fn foo1() { | |
24 | println!("hello, world"); | |
25 | } | |
26 | ||
27 | fn foo2() { | |
28 | println!("hello, world"); | |
29 | } | |
30 | ||
31 | fn foo3() { | |
32 | println!("hello, world"); | |
33 | } | |
34 | ||
35 | fn foo4() { | |
36 | println!("hello, world"); | |
37 | } | |
38 | ||
39 | fn foo5() { | |
40 | println!("hello, world"); | |
41 | } | |
42 | ||
43 | fn foo6() { | |
44 | println!("hello, world"); | |
45 | } | |
46 | ||
47 | fn foo7() { | |
48 | println!("hello, world"); | |
49 | } | |
50 | ||
51 | fn foo8() { | |
52 | println!("hello, world"); | |
53 | } | |
54 | } |