mirror of
https://github.com/nim-lang/Nim.git
synced 2026-02-12 06:18:51 +00:00
small docs fix in typetraits (#14108)
This commit is contained in:
@@ -89,7 +89,7 @@ since (1, 1):
|
||||
|
||||
since (1, 1):
|
||||
template get*(T: typedesc[tuple], i: static int): untyped =
|
||||
## Return `i`th element of `T`
|
||||
## Return `i`\th element of `T`
|
||||
# Note: `[]` currently gives: `Error: no generic parameters allowed for ...`
|
||||
type(default(T)[i])
|
||||
|
||||
|
||||
Reference in New Issue
Block a user