Skip to content

Commit

Permalink
Sub identifier is optional
Browse files Browse the repository at this point in the history
  • Loading branch information
Juerd committed Jul 9, 2018
1 parent cf6eb2a commit d7b6f97
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doc/Type/Sub.pod6
Expand Up @@ -7,7 +7,7 @@
class Sub is Routine { }
A type for subroutines and operators. Subs are created with the C<sub>
declarator keyword followed by an L<identifier|/language/syntax#Identifiers>. Operators are declared by C<sub>
declarator keyword followed by an optional L<identifier|/language/syntax#Identifiers>. Operators are declared by C<sub>
followed by C<prefix>, C<infix>, C<postfix>, C<circumfix>, or C<postcircumfix>;
then a colon and the operator name in a quote construct. For (post-)circumfix
operators separate the two parts by white space.
Expand Down

0 comments on commit d7b6f97

Please sign in to comment.