Merge pull request #2440 from douglashill/patch-1

Fix minor typo in comment in options 3 solution
This commit is contained in:
Remo Senekowitsch
2026-08-24 23:17:41 +02:00
committed by GitHub
+1 -1
View File
@@ -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