small docs fix in typetraits (#14108)

This commit is contained in:
hlaaftana
2020-04-25 21:35:20 +03:00
committed by GitHub
parent 56584414f3
commit 31ba27590c

View File

@@ -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])