From bca59073c78b5c1afbeeeef44965d40ef8d3506f Mon Sep 17 00:00:00 2001 From: imaqtkatt Date: Wed, 28 Feb 2024 15:35:57 -0300 Subject: [PATCH] Fix typo and update word list --- cspell.json | 1 + docs/pattern-matching.md | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/cspell.json b/cspell.json index 7bd1f52e..f62387d7 100644 --- a/cspell.json +++ b/cspell.json @@ -15,6 +15,7 @@ "ctrs", "datatypes", "desugared", + "desugars", "dref", "dups", "effectful", diff --git a/docs/pattern-matching.md b/docs/pattern-matching.md index 4b3ff5c8..c9acc47a 100644 --- a/docs/pattern-matching.md +++ b/docs/pattern-matching.md @@ -17,7 +17,7 @@ Foo = @arg1 @arg2 @arg3 match arg1 arg2 arg3 { } ``` -Pattern matching on numers has two forms. +Pattern matching on numbers has two forms. With the successor pattern it will expect a sequence of numbers up to the `n+var` pattern: ```rust match n {