Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
avoid trailing comma before closing paren
where not needed.
  • Loading branch information
coke committed Dec 12, 2016
1 parent d385536 commit a103ca2
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion doc/Language/classtut.pod6
Expand Up @@ -10,7 +10,7 @@ X<|OOP>
Perl 6 has a rich built in syntax for the definition and use of classes
for object oriented programming, allowing for the definition of state
(as L<attributes|#State>,) and behaviour (as L<methods|#Methods>,)
(as L<attributes|#State>) and behaviour (as L<methods|#Methods>)
in the objects of a class.
A simple class is provided with a default constructor, that allows the
Expand Down
8 changes: 4 additions & 4 deletions doc/Language/concurrency.pod6
Expand Up @@ -198,7 +198,7 @@ otherwise.
If you are creating a promise that you intend to keep or break yourself
then you probably don't want any code that might receive the promise to
inadvertently (or otherwise,) keep or break the promise before you do.
inadvertently (or otherwise) keep or break the promise before you do.
For this purpose there is the L<method vow|/type/Promise#method_vow>, which
returns a L<Vow> object which becomes the only mechanism by which the promise
can be kept or broken. If an attempt to keep or break the Promise is made
Expand Down Expand Up @@ -485,7 +485,7 @@ channel must be checked to determine whether it is closed:
# Doing some unrelated things...
The L<method closed|/type/Channel#method_closed> returns a L<Promise> that
will be kept (and consequently will evaluate to True in a boolean context,)
will be kept (and consequently will evaluate to True in a boolean context)
when the channel is closed.
The C<.poll> method can be used in combination with C<.receive> method, as a
Expand Down Expand Up @@ -727,12 +727,12 @@ The class L<Lock> provides the low level mechanism that protects
shared data in a concurrent environment and is thus key to supporting
thread-safety in the high level API, this is sometimes known as a
"Mutex" in other programming languages. Because the higher level classes
(L<Promise>, L<Supply> and L<Channel>,) use a L<Lock> where required it
(L<Promise>, L<Supply> and L<Channel>) use a L<Lock> where required it
is unlikely that user code will need to use a L<Lock> directly.
The primary interface to L<Lock> is the method
L<protect|/type/Lock#method_protect> which ensures that a block of code
(commonly called a "critical section",) is only executed in one thread
(commonly called a "critical section") is only executed in one thread
at a time:
my $lock = Lock.new;
Expand Down
2 changes: 1 addition & 1 deletion doc/Type/IO/Handle.pod6
Expand Up @@ -252,7 +252,7 @@ characters.
method seek(IO::Handle:D: Int:D $offset, SeekType:D $whence --> True)
Move the file pointer (that is, the position at which any subsequent read
or write operations will begin,) to the byte position specified by
or write operations will begin) to the byte position specified by
C<$offset> relative to the location specified by C<$whence> which may be
one of:
Expand Down
4 changes: 2 additions & 2 deletions doc/Type/IO/Path.pod6
Expand Up @@ -446,7 +446,7 @@ physical storage device).
sub symlink(Str $target, Str $name --> Bool)
Create a new symbolic link named as $target (or the name of the invocant in
the method form,) to the existing file named C<$name>.
the method form) to the existing file named C<$name>.
Both forms will return C<True> on success or L<fail|/routine/fail> with
L<X::IO::Symlink> if the symbolic link could not be created.
Expand All @@ -457,7 +457,7 @@ L<X::IO::Symlink> if the symbolic link could not be created.
sub link(Str $target, Str $name --> Bool)
Create a new link named as $target (or the name of the invocant in the
method form,) to the existing file named C<$name>.
method form) to the existing file named C<$name>.
Both forms will return C<True> on success or L<fail|/routine/fail> with
L<X::IO::Link> if the link operation could not be performed.
Expand Down
4 changes: 2 additions & 2 deletions doc/Type/IO/Socket/Async.pod6
Expand Up @@ -72,8 +72,8 @@ await $socket.print-to('localhost', 3333, "Hello, Perl 6!");
=head1 Methods
The L<IO::Socket::Async> cannot be constructed directly, either C<connect>
or C<listen> (for TCP connections, ) or C<udp> or C<bind-udp> (for UDP
data,) should be used to create a client or a server respectively.
or C<listen> (for TCP connections) or C<udp> or C<bind-udp> (for UDP
data) should be used to create a client or a server respectively.
=head2 method connect
Expand Down

0 comments on commit a103ca2

Please sign in to comment.