Skip to content

Commit d339488

Browse files
authored
remove erroneous $
compare output of introspection `&trait_mod:<is>.candidates».signature».raku.grep(/ \(\$\) /)».say`
1 parent 03579a6 commit d339488

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

doc/Type/Attribute.rakudoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@ default accessor for the attribute will return a writable value.
154154
=head2 X<trait is readonly|Traits,is readonly>
155155

156156
=for code :skip-test<listing>
157-
multi trait_mod:<is> (Attribute:D $attr, :$readonly($)!)
157+
multi trait_mod:<is> (Attribute:D $attr, :readonly($)!)
158158

159159
Marks as C<readonly> an attribute of a class that has the C<is rw> trait.
160160

0 commit comments

Comments
 (0)