diff options
author | Vladimir Kidyaev <krios2146@gmail.com> | 2024-03-11 21:59:37 +0700 |
---|---|---|
committer | Louis Pilfold <louis@lpil.uk> | 2024-03-12 14:29:47 +0000 |
commit | a5daf92cf2eb85e8e8ed21bca99cc6c423bfb537 (patch) | |
tree | c71e7564981c6d4e36d8cf49820c6faf14318468 /src/content | |
parent | dc4f780be4adca88685e1cd2c5ad32834f48ce56 (diff) | |
download | tour-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.html | 4 |
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> |