Skip to content

Commit c0ebb6c

Browse files
Merge pull request #832 from sgkim126/name
Fix an invalid variable name in the loop example
2 parents 1f7d176 + 37f61d3 commit c0ebb6c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/expressions/loop-expr.md

+1-1
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)