Skip to content

Commit 22204d5

Browse files
committed
Remove semicolons on method defs
1 parent 81900cb commit 22204d5

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

doc/Type/IO.pod6

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -223,10 +223,10 @@ containers are equivalent:
223223
224224
Defined as:
225225
226-
method note(Mu: -->Bool:D);
227-
multi sub note( --> Bool:D);
228-
multi sub note(Str:D $note --> Bool:D);
229-
multi sub note(**@args --> Bool:D);
226+
method note(Mu: -->Bool:D)
227+
multi sub note( --> Bool:D)
228+
multi sub note(Str:D $note --> Bool:D)
229+
multi sub note(**@args --> Bool:D)
230230
231231
Like L«C<say>|/routine/say», except prints output to L«C<$*ERR>|/language/variables#index-entry-%24%2AERR» handle (STDERR).
232232
If no arguments are given to subroutine forms, will use string C<"Noted">.

doc/Type/IO/Handle.pod6

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,8 @@ slurp the file in its entirety when this method is called.
2323
2424
Defined as:
2525
26-
method get(IO::Handle:D: --> Str:D);
27-
multi sub get (IO::Handle $fh = $*ARGFILES --> Str:D);
26+
method get(IO::Handle:D: --> Str:D)
27+
multi sub get (IO::Handle $fh = $*ARGFILES --> Str:D)
2828
2929
Reads a single line of input from the handle, removing the trailing newline
3030
characters (as set by L«C<.nl-in>|/routine/nl-in»)
@@ -47,8 +47,8 @@ is given.
4747
4848
Defined as:
4949
50-
method getc(IO::Handle:D: --> Str:D);
51-
multi sub getc (IO::Handle $fh = $*ARGFILES --> Str:D);
50+
method getc(IO::Handle:D: --> Str:D)
51+
multi sub getc (IO::Handle $fh = $*ARGFILES --> Str:D)
5252
5353
Reads a single character from the input stream. The subroutine form defaults
5454
to L«C<$*ARGFILES>|/language/variables#index-entry-%24%2AARGFILES» if no handle

0 commit comments

Comments
 (0)