From 37f61d3347d0813bce53a25c8ee068650d9a025f Mon Sep 17 00:00:00 2001 From: Seulgi Kim Date: Thu, 11 Jun 2020 22:44:46 +0900 Subject: [PATCH] Fix an invalid variable name in the loop example --- src/expressions/loop-expr.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/expressions/loop-expr.md b/src/expressions/loop-expr.md index 753465657..9ddefa12f 100644 --- a/src/expressions/loop-expr.md +++ b/src/expressions/loop-expr.md @@ -179,7 +179,7 @@ is equivalent to Option::Some(val) => next = val, Option::None => break, }; - let PAT = next; + let PATTERN = next; let () = { /* loop body */ }; }, };