Skip to content

Commit 0d25f95

Browse files
committed
Add missing invocant markers in Date.methods
1 parent fbba32d commit 0d25f95

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

doc/Type/Date.pod6

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -181,8 +181,8 @@ Returns the invocant.
181181
182182
=head2 method DateTime
183183
184-
multi method DateTime(Date:U --> DateTime:U)
185-
multi method DateTime(Date:D --> DateTime:D)
184+
multi method DateTime(Date:U: --> DateTime:U)
185+
multi method DateTime(Date:D: --> DateTime:D)
186186
187187
Converts the invocant to L«C<DateTime>|/type/DateTime»
188188
@@ -191,7 +191,7 @@ Converts the invocant to L«C<DateTime>|/type/DateTime»
191191
192192
=head2 method Int
193193
194-
multi method Int(Date:D --> Int:D)
194+
multi method Int(Date:D: --> Int:D)
195195
196196
Converts the invocant to L«C<Int>|/type/Int». The same value can be
197197
obtained with the C<daycount> method.
@@ -200,7 +200,7 @@ Available as of release 2023.02 of the Rakudo compiler.
200200
201201
=head2 method Real
202202
203-
multi method Real(Date:D --> Int:D)
203+
multi method Real(Date:D: --> Int:D)
204204
205205
Converts the invocant to L«C<Int>|/type/Int». The same value can be
206206
obtained with the C<daycount> method.
@@ -209,7 +209,7 @@ Available as of release 2023.02 of the Rakudo compiler.
209209
210210
=head2 method Numeric
211211
212-
multi method Numeric(Date:D --> Int:D)
212+
multi method Numeric(Date:D: --> Int:D)
213213
214214
Converts the invocant to L«C<Int>|/type/Int». The same value can be
215215
obtained with the C<daycount> method. This allows C<Date> objects to

0 commit comments

Comments
 (0)