mirror of
https://github.com/nim-lang/Nim.git
synced 2026-01-05 04:27:44 +00:00
manual.rst: remove unintended link
cast[T](0) is interpreted as a link to id 0 with text T, so escape the opening parentheses to display the intended output.
This commit is contained in:
@@ -2643,7 +2643,7 @@ tuple[x: A, y: B, ...] (default(A), default(B), ...)
|
||||
(analogous for objects)
|
||||
array[0..., T] [default(T), ...]
|
||||
range[T] default(T); this may be out of the valid range
|
||||
T = enum cast[T](0); this may be an invalid value
|
||||
T = enum cast[T]\(0); this may be an invalid value
|
||||
============================ ==============================================
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user