summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorven <vendethiel@hotmail.fr>2015-03-26 00:06:17 +0100
committerven <vendethiel@hotmail.fr>2015-03-26 00:06:17 +0100
commitbc7fd77654133c3fe8e6574db8e0ed72a50cd0b2 (patch)
treed04318dc47305c325dae140fe094af39fcc65c25
parent649e7b0f7a241b0cb4abd6801a1a38cf1cfab008 (diff)
parent965d7972d1ef7dfbfc9c07de72bbce81898eb703 (diff)
Merge pull request #1017 from jefferickson/patch-1
Minor typo: fixed curly bracket direction (} -> {)
-rw-r--r--perl6.html.markdown2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl6.html.markdown b/perl6.html.markdown
index 1b320028..f0ef6600 100644
--- a/perl6.html.markdown
+++ b/perl6.html.markdown
@@ -560,7 +560,7 @@ subset VeryBigInteger of Int where * > 500;
multi sub sayit(Int $n) { # note the `multi` keyword here
say "Number: $n";
}
-multi sayit(Str $s) } # a multi is a `sub` by default
+multi sayit(Str $s) { # a multi is a `sub` by default
say "String: $s";
}
sayit("foo"); # prints "String: foo"