Skip to content

Commit a37ea72

Browse files
author
Jan-Olof Hendig
committed
More formatting fixes
1 parent 9782bf8 commit a37ea72

File tree

5 files changed

+12
-17
lines changed

5 files changed

+12
-17
lines changed

doc/Language/control.pod6

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -877,7 +877,6 @@ for @x -> $x {
877877
next if $x == 3;
878878
print $x;
879879
}
880-
881880
=end code
882881
883882
prints "1245".
@@ -893,7 +892,6 @@ for @x -> $x {
893892
last if $x == 3;
894893
print $x;
895894
}
896-
897895
=end code
898896
899897
prints "12".
@@ -923,7 +921,6 @@ multi indent-say ( 'test' ) {
923921
multi indent-say ( Str $string ) {
924922
say "\t$string";
925923
}
926-
927924
=end code
928925
929926
=end pod

doc/Language/exceptions.pod6

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -167,8 +167,8 @@ the expression or L<Nil|/type/Nil> if an exception was thrown.
167167
C<try> can also be used with a statement instead of a block:
168168
169169
=begin code
170-
say try "some-filename.txt".IO.slurp // "sane default";
171-
# OUTPUT: «sane default␤»
170+
say try "some-filename.txt".IO.slurp // "sane default";
171+
# OUTPUT: «sane default␤»
172172
=end code
173173
174174
=head1 Throwing exceptions

doc/Language/functions.pod6

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -929,9 +929,7 @@ set to a truthy value, named arguments can be specified anywhere, even after
929929
positional parameter. For example, the above program can be called with:
930930
931931
=begin code :lang<shell>
932-
933-
perl6 example.p6 1 --c=2 3 --d=4
934-
932+
perl6 example.p6 1 --c=2 3 --d=4
935933
=end code
936934
937935
=head1 C<sub USAGE>

doc/Language/nativecall.pod6

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -371,7 +371,7 @@ class MyStruct2 is repr('CStruct') {
371371
has int32 $.flags;
372372
}
373373
374-
say nativesizeof(MyStruct2.new); # 24, ie. sizeof(struct Point) + sizeof(int32_t)
374+
say nativesizeof(MyStruct2.new); # 24, ie. sizeof(struct Point) + sizeof(int32_t)
375375
=end code
376376
377377
=head1 Typed Pointers
@@ -600,9 +600,9 @@ sudo apt-get install mysql-server
600600
Prepare your system along these lines before trying out the examples:
601601
602602
=for code :lang<shell>
603-
$ mysql -u root -p
604-
UPDATE mysql.user SET password=password('sa') WHERE user = 'root';
605-
CREATE DATABASE test;
603+
$ mysql -u root -p
604+
UPDATE mysql.user SET password=password('sa') WHERE user = 'root';
605+
CREATE DATABASE test;
606606
607607
=head2 Microsoft Windows
608608

doc/Language/unicode_entry.pod6

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -39,10 +39,10 @@ You may have issues using the compose key in all programs. In that case you can
3939
try C<ibus>.
4040
4141
=for code :lang<shell>
42-
input_module=xim
43-
export GTK_IM_MODULE=$input_module
44-
export XMODIFIERS=@im=$input_module
45-
export QT_IM_MODULE=$input_module
42+
input_module=xim
43+
export GTK_IM_MODULE=$input_module
44+
export XMODIFIERS=@im=$input_module
45+
export QT_IM_MODULE=$input_module
4646
4747
If you want this to be for all users you can put this in a file C</etc/profile.d/compose.sh>,
4848
which is the easiest way, since you won't have to deal with how different GUI
@@ -60,7 +60,7 @@ package for your distribution. Then you will have to set it to start on load of
6060
Desktop environment. The command that needs to be run is:
6161
6262
=for code :lang<shell>
63-
ibus-daemon --xim --verbose --daemonize --replace
63+
ibus-daemon --xim --verbose --daemonize --replace
6464
6565
Setting C<--xim> should also allow programs not using ibus to still use the xim
6666
input method and be backward compatible.

0 commit comments

Comments
 (0)