Skip to content

Commit 5639284

Browse files
authored
Reword example
1 parent 97292f8 commit 5639284

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

doc/Type/Failure.pod6

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ Returns the L<Exception> object that the failure wraps.
4545
sub failer() { fail };
4646
my $failure = failer;
4747
my $ex = $failure.exception;
48-
put $ex.^name, ': ', $ex.Str;
48+
put "$ex.^name(): $ex";
4949
# OUTPUT: «X::AdHoc: Failed␤»
5050
5151
=head2 method Bool

0 commit comments

Comments
 (0)