Skip to content

Commit

Permalink
fixes docs (#22331)
Browse files Browse the repository at this point in the history
  • Loading branch information
ringabout authored Jul 26, 2023
1 parent c0994c2 commit 11c8dfc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/system.nim
Original file line number Diff line number Diff line change
Expand Up @@ -914,7 +914,7 @@ proc default*[T](_: typedesc[T]): T {.magic: "Default", noSideEffect.} =
## See also:
## * `zeroDefault <#zeroDefault,typedesc[T]>`_
##
runnableExamples:
runnableExamples("-d:nimPreviewRangeDefault"):
assert (int, float).default == (0, 0.0)
type Foo = object
a: range[2..6]
Expand Down

0 comments on commit 11c8dfc

Please sign in to comment.