Perl6, minor change in comments

It seems "when" should be replace by "given" at the end of the comment.
This commit is contained in:
Philippe Bricout 2015-03-01 18:04:05 +01:00
parent 733eced1ba
commit cd462d1cc5

View File

@ -283,7 +283,7 @@ for @array -> $variable {
} }
# As we saw with given, for's default "current iteration" variable is `$_`. # 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 { for @array {
say "I've got $_"; say "I've got $_";