Skip to content

Commit

Permalink
Fix non_exhaustive formatting to rustfmt's liking.
Browse files Browse the repository at this point in the history
  • Loading branch information
obi1kenobi authored and ehuss committed May 1, 2023
1 parent 2451c2d commit c4ce40c
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions src/doc/src/reference/semver.md
Original file line number Diff line number Diff line change
Expand Up @@ -1158,9 +1158,14 @@ pub struct Foo {
}
pub enum Bar {
#[non_exhaustive] X,
#[non_exhaustive] Y(usize),
#[non_exhaustive] Z { a: usize },
#[non_exhaustive]
X,
#[non_exhaustive]
Y(usize),
#[non_exhaustive]
Z { a: usize },
}
#[non_exhaustive]
Expand Down

0 comments on commit c4ce40c

Please sign in to comment.