Skip to content

Commit 038fd29

Browse files
committed
Add version information for Str.Version
1 parent 0efcb72 commit 038fd29

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

doc/Type/Str.pod6

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1144,6 +1144,8 @@ signature|/type/Signature#Coercion_type>, as for example:
11441144
sub f(Version(Str) $want-version) { say $want-version.^name };
11451145
f "1.2.3"; # OUTPUT: «Version␤»
11461146
1147+
B<Note>: Available since version 6.e (2020.01 and later).
1148+
11471149
=end pod
11481150

11491151
# vim: expandtab softtabstop=4 shiftwidth=4 ft=perl6

0 commit comments

Comments
 (0)