Skip to content

Commit

Permalink
Minor 📝
Browse files Browse the repository at this point in the history
  • Loading branch information
JJ committed Mar 25, 2022
1 parent a58c658 commit e50230a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions doc/Language/containers.pod6
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ The assignment operator asks the container on the left to store the value on
its right. What exactly that means is up to the container type. For
C<Scalar> it means "replace the previously stored value with the new one".
Note that subroutine signatures allow passing around of containers:
Note that subroutine signatures allow passing containers around:
sub f($a is rw) {
$a = 23;
Expand All @@ -64,7 +64,7 @@ Inside the subroutine, the lexpad entry for C<$a> points to the same
container that C<$x> points to outside the subroutine. Which is why
assignment to C<$a> also modifies the contents of C<$x>.
Likewise a routine can return a container if it is marked as C<is rw>:
Likewise, a routine can return a container if it is marked as C<is rw>:
my $x = 23;
sub f() is rw { $x };
Expand Down

0 comments on commit e50230a

Please sign in to comment.