mirror of
https://github.com/nim-lang/Nim.git
synced 2026-01-04 12:07:51 +00:00
Update marshal.nim
This commit is contained in:
@@ -270,6 +270,7 @@ proc store*[T](s: Stream, data: T) =
|
||||
|
||||
proc `$$`*[T](x: T): string =
|
||||
## returns a string representation of `x`.
|
||||
##
|
||||
## Note: to serialize `x` to JSON use $(%x) from the ``json`` module
|
||||
var stored = initIntSet()
|
||||
var d: T
|
||||
|
||||
Reference in New Issue
Block a user