summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorven <vendethiel@hotmail.fr>2015-03-02 09:19:50 +0100
committerven <vendethiel@hotmail.fr>2015-03-02 09:19:50 +0100
commit2fc71700da81ff0f6949edcfe3394c3e1a771227 (patch)
treed6bab2d22fa7c1341f3f8b018f91eef5811cbd91
parentcf4bb209d6ce1d28993f3d91d5973aedd0e2f26b (diff)
parentcd462d1cc53183ca9fcc2567308e5ce24f162f89 (diff)
Merge pull request #980 from brxfork/patch-2
Perl6, minor change in comments
-rw-r--r--perl6.html.markdown2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl6.html.markdown b/perl6.html.markdown
index 3f1cab2e..85ab1d79 100644
--- a/perl6.html.markdown
+++ b/perl6.html.markdown
@@ -283,7 +283,7 @@ for @array -> $variable {
}
# As we saw with given, for's default "current iteration" variable is `$_`.
-# That means you can use `when` in a `for` just like you were in a when.
+# That means you can use `when` in a `for` just like you were in a `given`.
for @array {
say "I've got $_";