Update marshal.nim
This commit is contained in:
parent
d1e03c20d2
commit
127556ad63
1 changed files with 1 additions and 0 deletions
|
|
@ -270,6 +270,7 @@ proc store*[T](s: Stream, data: T) =
|
||||||
|
|
||||||
proc `$$`*[T](x: T): string =
|
proc `$$`*[T](x: T): string =
|
||||||
## returns a string representation of `x`.
|
## returns a string representation of `x`.
|
||||||
|
##
|
||||||
## Note: to serialize `x` to JSON use $(%x) from the ``json`` module
|
## Note: to serialize `x` to JSON use $(%x) from the ``json`` module
|
||||||
var stored = initIntSet()
|
var stored = initIntSet()
|
||||||
var d: T
|
var d: T
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue