Skip to content

Commit c4ce40c

Browse files
obi1kenobiehuss
authored andcommitted
Fix non_exhaustive formatting to rustfmt's liking.
1 parent 2451c2d commit c4ce40c

File tree

1 file changed

+8
-3
lines changed

1 file changed

+8
-3
lines changed

src/doc/src/reference/semver.md

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1158,9 +1158,14 @@ pub struct Foo {
11581158
}
11591159
11601160
pub enum Bar {
1161-
#[non_exhaustive] X,
1162-
#[non_exhaustive] Y(usize),
1163-
#[non_exhaustive] Z { a: usize },
1161+
#[non_exhaustive]
1162+
X,
1163+
1164+
#[non_exhaustive]
1165+
Y(usize),
1166+
1167+
#[non_exhaustive]
1168+
Z { a: usize },
11641169
}
11651170
11661171
#[non_exhaustive]

0 commit comments

Comments
 (0)