Skip to content

Commit 4017d27

Browse files
committed
whitespace
1 parent b45896d commit 4017d27

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

doc/Language/js-nutshell.rakudoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -987,7 +987,7 @@ However, you cannot both slice and decode a buffer with C<decode>. Instead you
987987
can use L<C<subbuf>> to extract the relevant part from the invocant buffer and
988988
then C<decode> the returned buffer:
989989

990-
=begin code :lang<raku>
990+
=begin code :lang<raku> :preamble<my $buf>
991991
say $buf.subbuf(0, 12).decode('utf-8').raku; # OUTPUT: «Hello world!>␤»
992992
=end code
993993

@@ -1058,7 +1058,7 @@ say $buf.elems; # OUTPUT: «16␤»
10581058

10591059
=head3 C<copy>
10601060

1061-
You use the C<copy> method to copy the contents of one buffer onto another.
1061+
You use the C<copy> method to copy the contents of one buffer onto another.
10621062

10631063
=begin code :lang<javascript>
10641064
const target = Buffer.alloc(24);

doc/Language/quoting.rakudoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -428,11 +428,11 @@ Using the C<qqww> variant allows you to use quote characters for embedding strin
428428
in the word quoting structure:
429429

430430
my $a = 42; say qqww{"$a b" c}.raku; # OUTPUT: «("42 b", "c")␤»
431-
431+
432432
The delimiters of embedded strings are always considered word splitters:
433433

434434
say qqww{'alpha'beta'gamma' 'delta'"epsilon"}.raku; # OUTPUT: «("alpha", "beta", "gamma", "delta", "epsilon")␤»
435-
435+
436436
Unlike the C<qqw> form, interpolation also always splits (except for interpolation that takes place in an embedded string):
437437

438438
my $time = "now";

0 commit comments

Comments
 (0)