typetraits: Dots for sentence endings.
This commit is contained in:
parent
0841eaa273
commit
7df722844b
1 changed files with 2 additions and 2 deletions
|
|
@ -52,11 +52,11 @@ proc genericHead*(t: typedesc): typedesc {.magic: "TypeTrait".}
|
|||
## seq[int].genericHead[float] will be seq[float]
|
||||
##
|
||||
## A compile-time error will be produced if the supplied type
|
||||
## is not generic
|
||||
## is not generic.
|
||||
|
||||
proc stripGenericParams*(t: typedesc): typedesc {.magic: "TypeTrait".}
|
||||
## This trait is similar to `genericHead`, but instead of producing
|
||||
## error for non-generic types, it will just return them unmodified
|
||||
## error for non-generic types, it will just return them unmodified.
|
||||
|
||||
proc supportsCopyMem*(t: typedesc): bool {.magic: "TypeTrait".}
|
||||
## This trait returns true iff the type ``t`` is safe to use for
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue