Fix broken code-block in docs

This commit is contained in:
Federico Ceratto
2017-09-17 17:32:06 +01:00
parent 277bf1098c
commit ff98fe1387

View File

@@ -305,6 +305,7 @@ proc `+`*(ti1, ti2: TimeInterval): TimeInterval =
proc `-`*(ti: TimeInterval): TimeInterval =
## Reverses a time interval
##
## .. code-block:: nim
##
## let day = -initInterval(hours=24)