Skip to content

Commit e39e00e

Browse files
authored
Merge pull request #2440 from douglashill/patch-1
Fix minor typo in comment in options 3 solution
2 parents 277e369 + 3241ac9 commit e39e00e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

solutions/12_options/options3.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ fn main() {
1515
_ => panic!("No match!"),
1616
}
1717

18-
// Solution 2: Matching over a reference (`&Option`) by added `&` before
18+
// Solution 2: Matching over a reference (`&Option`) by adding `&` before
1919
// `optional_point`.
2020
match &optional_point {
2121
//^ added

0 commit comments

Comments
 (0)