]>
Commit | Line | Data |
---|---|---|
f20569fa XL |
1 | // rustfmt-brace_style: PreferSameLine |
2 | ||
3 | mod M { | |
4 | enum A | |
5 | { | |
6 | A, | |
7 | } | |
8 | ||
9 | struct B | |
10 | { | |
11 | b: i32, | |
12 | } | |
13 | ||
14 | enum C {} | |
15 | ||
16 | struct D {} | |
17 | ||
18 | enum A<T> where T: Copy { | |
19 | A, | |
20 | } | |
21 | ||
22 | struct B<T> where T: Copy { | |
23 | b: i32, | |
24 | } | |
25 | ||
26 | enum C<T> where T: Copy {} | |
27 | ||
28 | struct D<T> where T: Copy {} | |
29 | } |