Skip to content

Commit 998bc26

Browse files
committed
update return type declaration
1 parent a6c62d5 commit 998bc26

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

doc/Type/Cursor.pod6

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,20 +17,20 @@ just with their relatives, L<Match> objects.
1717
1818
=head2 method orig
1919
20-
method origin(Cursor:D:) returns Any
20+
method origin(Cursor:D:) --> Any
2121
2222
Returns the object against which the regex matches.
2323
2424
=head2 method target
2525
26-
method target(Cursor:D:) returns Str:D
26+
method target(Cursor:D:) --> Str:D
2727
2828
Returns a string representation of the object against which the regex matches.
2929
This is the value that the regex engine works with internally.
3030
3131
=head2 method pos
3232
33-
method pod(Cursor:D:) returns Int:D
33+
method pod(Cursor:D:) --> Int:D
3434
3535
Returns the current position as a string index into `Cursor.target`.
3636

0 commit comments

Comments
 (0)