Skip to content

Commit 3d57ba8

Browse files
Fix an invalid variable name in the loop example
1 parent b1020c5 commit 3d57ba8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/expressions/loop-expr.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -179,7 +179,7 @@ is equivalent to
179179
Option::Some(val) => next = val,
180180
Option::None => break,
181181
};
182-
let PAT = next;
182+
let PATTERN = next;
183183
let () = { /* loop body */ };
184184
},
185185
};

0 commit comments

Comments
 (0)