Skip to content

Commit 4553283

Browse files
authored
Merge pull request #825 from titsuki/fix-typo
Fix typo from assoc<none> to assoc<non>
2 parents 6ae400b + 3a68dbb commit 4553283

File tree

1 file changed

+13
-13
lines changed

1 file changed

+13
-13
lines changed

doc/Language/operators.pod6

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -653,7 +653,7 @@ class or role, even after it has been redefined in the child class.
653653
=head2 prefix C«++»
654654
655655
=begin code :skip-test
656-
multi sub prefix:<++>($x is rw) is assoc<none>
656+
multi sub prefix:<++>($x is rw) is assoc<non>
657657
=end code
658658
659659
Increments its argument by one, and returns the incremented value.X<|increment operator>
@@ -669,7 +669,7 @@ semantics.
669669
=head2 prefix C«--»
670670
671671
=begin code :skip-test
672-
multi sub prefix:<-->($x is rw) is assoc<none>
672+
multi sub prefix:<-->($x is rw) is assoc<non>
673673
=end code
674674
675675
Decrements its argument by one, and returns the decremented value.X<|decrement operator>
@@ -686,7 +686,7 @@ semantics.
686686
=head2 postfix C«++»
687687
688688
=begin code :skip-test
689-
multi sub postfix:<++>($x is rw) is assoc<none>
689+
multi sub postfix:<++>($x is rw) is assoc<non>
690690
=end code
691691
692692
Increments its argument by one, and returns the unincremented value.X<|increment operator>
@@ -709,7 +709,7 @@ undefined values, it returns 0:
709709
=head2 postfix C«--»
710710
711711
=begin code :skip-test
712-
multi sub postfix:<-->($x is rw) is assoc<none>
712+
multi sub postfix:<-->($x is rw) is assoc<non>
713713
=end code
714714
715715
Decrements its argument by one, and returns the undecremented value.X<|decrement operator>
@@ -1148,7 +1148,7 @@ unsuccessfully, resetting the answer to 42.
11481148
=head2 infix C«does»
11491149
11501150
=begin code :skip-test
1151-
sub infix:<does>(Mu $obj, Mu $role) is assoc<none>
1151+
sub infix:<does>(Mu $obj, Mu $role) is assoc<non>
11521152
=end code
11531153
11541154
Mixes C<$role> into C<$obj> at run time. Requires C<$obj> to be mutable.
@@ -1159,7 +1159,7 @@ to act like a role, for example enum values.
11591159
=head2 infix C«but»
11601160
11611161
=begin code :skip-test
1162-
sub infix:<but>(Mu $obj, Mu $role) is assoc<none>
1162+
sub infix:<but>(Mu $obj, Mu $role) is assoc<non>
11631163
=end code
11641164
11651165
Creates a copy of C<$obj> with C<$role> mixed in. Since C<$obj> is not
@@ -1171,7 +1171,7 @@ to act like a role, for example enum values.
11711171
=head2 infix C«cmp»
11721172
11731173
=begin code :skip-test
1174-
proto sub infix:<cmp>(Any, Any) returns Order:D is assoc<none>
1174+
proto sub infix:<cmp>(Any, Any) returns Order:D is assoc<non>
11751175
multi sub infix:<cmp>(Any, Any)
11761176
multi sub infix:<cmp>(Real:D, Real:D)
11771177
multi sub infix:<cmp>(Str:D, Str:D)
@@ -1192,7 +1192,7 @@ if C<$a eqv $b>, then C<$a cmp $b> always returns C<Order::Same>.
11921192
=head2 infix C«leg»
11931193
11941194
=begin code :skip-test
1195-
proto sub infix:<leg>($a, $b) returns Order:D is assoc<none>
1195+
proto sub infix:<leg>($a, $b) returns Order:D is assoc<non>
11961196
multi sub infix:<leg>(Any, Any)
11971197
multi sub infix:<leg>(Str:D, Str:D)
11981198
=end code
@@ -1210,7 +1210,7 @@ say 'b' leg 'a'; More
12101210
=head2 infix C«<=>»
12111211
12121212
=begin code :skip-test
1213-
multi sub infix:«<=>»($a, $b) returns Order:D is assoc<none>
1213+
multi sub infix:«<=>»($a, $b) returns Order:D is assoc<non>
12141214
=end code
12151215
12161216
X<Numeric three-way comparator>.X<|spaceship operator>
@@ -1220,7 +1220,7 @@ Coerces both arguments to L<Real>, and then does a numeric comparison.
12201220
=head2 infix C«..»
12211221
12221222
=begin code :skip-test
1223-
multi sub infix:<..>($a, $b) returns Range:D is assoc<none>
1223+
multi sub infix:<..>($a, $b) returns Range:D is assoc<non>
12241224
=end code
12251225
12261226
X<Range operator>
@@ -1230,7 +1230,7 @@ Constructs a L<Range> from the arguments.
12301230
=head2 infix C«..^»
12311231
12321232
=begin code :skip-test
1233-
multi sub infix:<..^>($a, $b) returns Range:D is assoc<none>
1233+
multi sub infix:<..^>($a, $b) returns Range:D is assoc<non>
12341234
=end code
12351235
12361236
X<Right-open range operator>.
@@ -1240,7 +1240,7 @@ Constructs a L<Range> from the arguments, excluding the end point.
12401240
=head2 infix C«^..»
12411241
12421242
=begin code :skip-test
1243-
multi sub infix:<^..>($a, $b) returns Range:D is assoc<none>
1243+
multi sub infix:<^..>($a, $b) returns Range:D is assoc<non>
12441244
=end code
12451245
12461246
X<Left-open range operator>.
@@ -1250,7 +1250,7 @@ Constructs a L<Range> from the arguments, excluding the start point.
12501250
=head2 infix C«^..^»
12511251
12521252
=begin code :skip-test
1253-
multi sub infix:<^..^>($a, $b) returns Range:D is assoc<none>
1253+
multi sub infix:<^..^>($a, $b) returns Range:D is assoc<non>
12541254
=end code
12551255
12561256
X<Open range operator>

0 commit comments

Comments
 (0)