small docs fix in typetraits (#14108)
This commit is contained in:
parent
56584414f3
commit
31ba27590c
1 changed files with 1 additions and 1 deletions
|
|
@ -89,7 +89,7 @@ since (1, 1):
|
||||||
|
|
||||||
since (1, 1):
|
since (1, 1):
|
||||||
template get*(T: typedesc[tuple], i: static int): untyped =
|
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 ...`
|
# Note: `[]` currently gives: `Error: no generic parameters allowed for ...`
|
||||||
type(default(T)[i])
|
type(default(T)[i])
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue