aboutsummaryrefslogtreecommitdiff
path: root/src/content
diff options
context:
space:
mode:
authorVladimir Kidyaev <krios2146@gmail.com>2024-03-11 21:59:37 +0700
committerLouis Pilfold <louis@lpil.uk>2024-03-12 14:29:47 +0000
commita5daf92cf2eb85e8e8ed21bca99cc6c423bfb537 (patch)
treec71e7564981c6d4e36d8cf49820c6faf14318468 /src/content
parentdc4f780be4adca88685e1cd2c5ad32834f48ce56 (diff)
downloadtour-a5daf92cf2eb85e8e8ed21bca99cc6c423bfb537.tar.gz
tour-a5daf92cf2eb85e8e8ed21bca99cc6c423bfb537.zip
Update pattern aliases en.html to match the code example
Diffstat (limited to 'src/content')
-rw-r--r--src/content/chapter2_flow_control/lesson10_pattern_aliases/en.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/content/chapter2_flow_control/lesson10_pattern_aliases/en.html b/src/content/chapter2_flow_control/lesson10_pattern_aliases/en.html
index b737eb8..37a1276 100644
--- a/src/content/chapter2_flow_control/lesson10_pattern_aliases/en.html
+++ b/src/content/chapter2_flow_control/lesson10_pattern_aliases/en.html
@@ -2,6 +2,6 @@
The <code>as</code> operator can be used to assign sub patterns to variables.
</p>
<p>
- The pattern <code>[_, ..] as it</code> will match any non-empty list and
- assign that list to the variable <code>it</code>.
+ The pattern <code>[_, ..] as first</code> will match any non-empty list and
+ assign that list to the variable <code>first</code>.
</p>