Skip to content

Commit c56ff63

Browse files
authored
Update Signature.pod6
1 parent 3b12be9 commit c56ff63

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

doc/Type/Signature.pod6

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -551,10 +551,10 @@ variable name:
551551
552552
Aliases are also possible that way:
553553
554-
sub aliase-named(:color(:$colour), :type(:class(:$kind))) { say $colour ~ " " ~ $kind }
555-
aliase-named(color => "red", type => "A"); # both name can be use
556-
aliase-named(colour => "green", type => "B"); # more than two name is ok
557-
aliase-named(color => "white", class => "C"); # every alias is independent
554+
sub alias-named(:color(:$colour), :type(:class(:$kind))) { say $colour ~ " " ~ $kind }
555+
alias-named(color => "red", type => "A"); # both name can be use
556+
alias-named(colour => "green", type => "B"); # more than two name is ok
557+
alias-named(color => "white", class => "C"); # every alias is independent
558558
559559
More use of alias can be found in L<sub MAIN|/language/functions#sub_MAIN>
560560

0 commit comments

Comments
 (0)