Skip to content

Commit 3293842

Browse files
committed
Tweak example output style
1 parent 46fa87f commit 3293842

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

doc/Type/Promise.pod6

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -220,8 +220,8 @@ creates a chained promise.
220220
221221
my $timer = Promise.in(2);
222222
my $after = $timer.then({ say "2 seconds are over!"; 'result' });
223-
say $after.result; # 2 seconds are over
224-
# result
223+
say $after.result;
224+
# OUTPUT: «2 seconds are over␤result␤»
225225
226226
=head2 method keep
227227

0 commit comments

Comments
 (0)