We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 9ffcab0 + 3ecb47f commit b882da1Copy full SHA for b882da1
exercises/options/options3.rs
@@ -13,7 +13,7 @@ fn main() {
13
14
match y {
15
Some(p) => println!("Co-ordinates are {},{} ", p.x, p.y),
16
- _ => println!("no match"),
+ _ => panic!("no match!"),
17
}
18
y; // Fix without deleting this line.
19
0 commit comments