mirror of
https://github.com/rust-lang/rustlings.git
synced 2026-09-28 17:53:28 +00:00
Fix minor typo in comment in options 3 solution
This commit is contained in:
@@ -15,7 +15,7 @@ fn main() {
|
||||
_ => panic!("No match!"),
|
||||
}
|
||||
|
||||
// Solution 2: Matching over a reference (`&Option`) by added `&` before
|
||||
// Solution 2: Matching over a reference (`&Option`) by adding `&` before
|
||||
// `optional_point`.
|
||||
match &optional_point {
|
||||
//^ added
|
||||
|
||||
Reference in New Issue
Block a user