diff options
author | Oscar NihlgÄrd <oscarnihlgard@gmail.com> | 2019-04-24 13:39:28 +0200 |
---|---|---|
committer | Miran <narimiran@disroot.org> | 2019-04-24 13:39:28 +0200 |
commit | 1ddb496b6d7bb34b77b4b114efd8aa9b1783a1bc (patch) | |
tree | 0fd1159a09fe6a0e632dae42db187c5efa6ebaa9 | |
parent | 3c689c1f2e41b1e355fd62722c542a61db1f5b48 (diff) | |
download | Nim-1ddb496b6d7bb34b77b4b114efd8aa9b1783a1bc.tar.gz |
Add missing `deprecated` pragma (#11100) [ci skip]
-rw-r--r-- | lib/pure/times.nim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/pure/times.nim b/lib/pure/times.nim index 6dc56b08a..dc79877fd 100644 --- a/lib/pure/times.nim +++ b/lib/pure/times.nim @@ -2652,7 +2652,7 @@ proc microseconds*(dur: Duration): int {.inline, deprecated.} = doAssert dur.microseconds == 7008 result = convert(Nanoseconds, Microseconds, dur.nanosecond) -proc nanoseconds*(dur: Duration): NanosecondRange {.inline.} = +proc nanoseconds*(dur: Duration): NanosecondRange {.inline, deprecated.} = ## Number of whole microseconds represented by the **fractional** ## part of the duration. ## |