Skip to content

Commit eb46cc2

Browse files
committed
Fix formattos
1 parent 0e96ce1 commit eb46cc2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/Language/objects.pod

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -391,7 +391,7 @@ Since passing arguments to a routine binds the arguments to the parameters,
391391
a separate binding step is unnecessary if the attribute is used as parameter.
392392
So the example above could also have been written as:
393393
394-
=code :allow<B L>
394+
=for code :allow<B L>
395395
submethod BUILD(:encoding(:$B<!>enc), :$B<!>data) {
396396
# nothing to do here anymore, the signature binding
397397
# does all the work for us.
@@ -400,7 +400,7 @@ So the example above could also have been written as:
400400
The third implication is that if you want a constructor that accepts positional
401401
arguments, you must write your own C<new> method:
402402
403-
=code :allow<B L>
403+
=for code :allow<B L>
404404
class Point {
405405
has $.x;
406406
has $.y;

0 commit comments

Comments
 (0)