Skip to content

Commit 37f61d3

Browse files
committed
Fix an invalid variable name in the loop example
1 parent 1f7d176 commit 37f61d3

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)