Skip to content

Commit 2f8a5bd

Browse files
committed
Use e.g. to set off the example
1 parent ed5e02e commit 2f8a5bd

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

doc/Language/glossary.rakudoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ sub the-answer() { 42 } # arity of 0
131131
=end code
132132

133133
The arity of a L<C<Callable>|/type/Callable> is one of the main selectors in
134-
L<multi-dispatch|#Multi-dispatch>. Note that required named arguments C<(:$foo!)>
134+
L<multi-dispatch|#Multi-dispatch>. Note that required named arguments, e.g. C<(:$foo!)>,
135135
count as arity.
136136

137137
=head1 X<ASCII operator|Language,ASCII operator>
@@ -639,7 +639,7 @@ L<C<Parameter>|/type/Parameter> prototype and the arguments it was called with.
639639
The selection process is primarily based on types and number of arguments
640640
(L<arity|#Arity>), where the narrowest, most specific candidate wins,
641641
typically without regard to the order of declaration. Note that required named
642-
arguments C<(:$foo!)> count as arity. The C<is default> trait may be used as a
642+
arguments, e.g. C<(:$foo!)>, count as arity. The C<is default> trait may be used as a
643643
tiebreaker in this first phase. There is also a secondary phase where some
644644
different tiebreakers may be evaluated in order of declaration of the
645645
methods or subs.

0 commit comments

Comments
 (0)