fixed outdated code doc

This commit is contained in:
Felix Krause 2020-06-26 23:40:14 +02:00
parent aa64bac5ed
commit 048183d786
1 changed files with 2 additions and 4 deletions

View File

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