Skip to content

Commit a809f03

Browse files
committed
Eliminates one duplicate
Which goes towards #1912 but it useless anyway because #1894
1 parent 42d1049 commit a809f03

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

doc/Language/classtut.pod6

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -462,7 +462,7 @@ on the various other dependencies in order, giving the output:
462462
463463
=head1 Inheritance
464464
465-
X<|is (inheritance)>
465+
X<|classes, inheritance>
466466
467467
Object Oriented Programming provides the concept of inheritance as one of
468468
the mechanisms for code reuse. Perl 6 supports the ability for one

doc/Language/typesystem.pod6

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -378,13 +378,13 @@ C<HyperWhatever>.
378378
}
379379
E.new.em1;
380380
381-
=head3 trait C<is>
381+
=head3 X<trait C<is>|classes,is>
382382
383383
Defined as:
384384
385385
multi sub trait_mod:<is>(Mu:U $child, Mu:U $parent)
386386
387-
The L<trait|/type/Sub#Traits> X<C<is>|is (inheritance)> accepts a type object to be
387+
The L<trait|/type/Sub#Traits> C<is> accepts a type object to be
388388
added as a parent class of a class in its definition. To allow multiple
389389
inheritance the trait can be applied more than once. Adding parents to a class
390390
will import their methods into the target class. If the same method name occurs

0 commit comments

Comments
 (0)