Skip to content

Commit 08c4f92

Browse files
obi1kenobiehuss
authored andcommitted
Tweak example formatting.
1 parent fc77710 commit 08c4f92

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/doc/src/reference/semver.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1180,8 +1180,9 @@ fn main() {
11801180
let bar_z = Bar::Z { a: 0 }; // Error: cannot create non-exhaustive variant using struct expression
11811181
11821182
let q = Quux::Var;
1183-
match q { // Error: non-exhaustive patterns: `_` not covered
1183+
match q {
11841184
Quux::Var => 0,
1185+
// Error: non-exhaustive patterns: `_` not covered
11851186
}
11861187
}
11871188
```

0 commit comments

Comments
 (0)