mirror of
https://github.com/rust-lang/cargo.git
synced 2025-09-28 11:20:36 +00:00
Tweak example formatting.
This commit is contained in:
parent
fc77710e07
commit
08c4f92273
@ -1180,8 +1180,9 @@ fn main() {
|
||||
let bar_z = Bar::Z { a: 0 }; // Error: cannot create non-exhaustive variant using struct expression
|
||||
|
||||
let q = Quux::Var;
|
||||
match q { // Error: non-exhaustive patterns: `_` not covered
|
||||
match q {
|
||||
Quux::Var => 0,
|
||||
// Error: non-exhaustive patterns: `_` not covered
|
||||
}
|
||||
}
|
||||
```
|
||||
|
Loading…
x
Reference in New Issue
Block a user