There was an error while loading. Please reload this page.
2 parents 277e369 + 3241ac9 commit e39e00eCopy full SHA for e39e00e
1 file changed
solutions/12_options/options3.rs
@@ -15,7 +15,7 @@ fn main() {
15
_ => panic!("No match!"),
16
}
17
18
- // Solution 2: Matching over a reference (`&Option`) by added `&` before
+ // Solution 2: Matching over a reference (`&Option`) by adding `&` before
19
// `optional_point`.
20
match &optional_point {
21
//^ added
0 commit comments