Fix broken code-block in docs
This commit is contained in:
parent
277bf1098c
commit
ff98fe1387
1 changed files with 1 additions and 0 deletions
|
|
@ -305,6 +305,7 @@ proc `+`*(ti1, ti2: TimeInterval): TimeInterval =
|
||||||
|
|
||||||
proc `-`*(ti: TimeInterval): TimeInterval =
|
proc `-`*(ti: TimeInterval): TimeInterval =
|
||||||
## Reverses a time interval
|
## Reverses a time interval
|
||||||
|
##
|
||||||
## .. code-block:: nim
|
## .. code-block:: nim
|
||||||
##
|
##
|
||||||
## let day = -initInterval(hours=24)
|
## let day = -initInterval(hours=24)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue