Skip to content

Commit e18c537

Browse files
committed
Minor rephrasing and reflow
1 parent 804e4b0 commit e18c537

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
@@ -292,7 +292,7 @@ to do this.
292292
=head1 Static fields?
293293
294294
Perl 6 has no B<static> keyword. Nevertheless, any class may declare anything
295-
that a module can, so making a scoped variable sounds like good idea.
295+
that a module can, so making a scoped variable sounds like a good idea.
296296
297297
=begin code
298298
class Singleton {

doc/Language/variables.pod6

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -580,8 +580,8 @@ variables.
580580
say [$a, $b, $c].perl;
581581
# OUTPUT: «["a", "b", Int]␤»
582582
583-
To destructure a list into a single value, create a list literal with one element
584-
by using C<($var,)>. When used with a variable declarator, providing
583+
To destructure a list into a single value, create a list literal with one
584+
element by using C<($var,)>. When used with a variable declarator, providing
585585
parentheses around a single variable is sufficient.
586586
587587
sub f { 1,2,3 };

0 commit comments

Comments
 (0)