Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Deletes incorrect sentence
In numeric contexts, it will still return a Duration. If you do any
operation with other kind of numbers, the result will be that number's
type, but that's the operation, not just the context. Closes #1589
  • Loading branch information
JJ committed Sep 16, 2018
1 parent 93ebaac commit 121795e
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions doc/Type/Duration.pod6
Expand Up @@ -7,9 +7,7 @@
class Duration is Cool does Real { }
A C<Duration> represents a length of time in atomic seconds, with
fractions. Like an L<Instant>, it is epoch-agnostic. In numeric contexts
(situations where a C<Duration> is used as a number), a C<Duration> will return
either a L<Rat> or a L<FatRat> representing the number of seconds it holds.
fractions. Like an L<Instant>, it is epoch-agnostic.
C<Duration>s can be subtracted from or added to C<Instant>s to yield another,
new C<Instant>. Subtracting one C<Instant> from another yields a C<Duration>.
Expand Down

0 comments on commit 121795e

Please sign in to comment.