Add missing deprecated pragma (#11100) [ci skip]
This commit is contained in:
parent
3c689c1f2e
commit
1ddb496b6d
1 changed files with 1 additions and 1 deletions
|
|
@ -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.
|
||||
##
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue