mirror of https://github.com/status-im/NimYAML.git
fixed outdated code doc
This commit is contained in:
parent
aa64bac5ed
commit
048183d786
|
@ -46,10 +46,8 @@ template transient*() {.pragma.}
|
|||
##
|
||||
## .. code-block::
|
||||
## type MyObject = object
|
||||
## a, b: string
|
||||
## c: int
|
||||
## markAsTransient(MyObject, a)
|
||||
## markAsTransient(MyObject, c)
|
||||
## a {.transient.}, b: string
|
||||
## c {.transient.}: int
|
||||
|
||||
template ignore*(keys : openarray[string]) {.pragma.}
|
||||
## This annotation can be put on an object type. All keys with the given
|
||||
|
|
Loading…
Reference in New Issue