From 41cf00929903710a9ce9b1f4c5d8b96e6a511614 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ciar=C3=A1n=20Mooney?= Date: Thu, 27 Aug 2020 04:35:45 +0100 Subject: [PATCH] Added variable back into example. --- src/expressions/match-expr.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/expressions/match-expr.md b/src/expressions/match-expr.md index 9a0cb8d61..6d9f3f2af 100644 --- a/src/expressions/match-expr.md +++ b/src/expressions/match-expr.md @@ -66,7 +66,7 @@ Multiple match patterns may be joined with the `|` operator. Each pattern will b tested in left-to-right sequence until a successful match is found. ```rust -# let x = 9; +let x = 9; let message = match x { 0 | 1 => "not many", 2 ..= 9 => "a few",