From c4ce40c37f7a74615eb743675c8042af96f13b16 Mon Sep 17 00:00:00 2001 From: Predrag Gruevski Date: Mon, 18 Jul 2022 11:58:21 -0400 Subject: [PATCH] Fix non_exhaustive formatting to rustfmt's liking. --- src/doc/src/reference/semver.md | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/src/doc/src/reference/semver.md b/src/doc/src/reference/semver.md index 6c8308403d9..5336806502f 100644 --- a/src/doc/src/reference/semver.md +++ b/src/doc/src/reference/semver.md @@ -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]