mirror of
https://github.com/nim-lang/Nim.git
synced 2026-07-19 07:21:19 +00:00
doc improvements
This commit is contained in:
@@ -39,7 +39,7 @@ invalid:
|
||||
let i = 5
|
||||
try:
|
||||
a[i] = 'N'
|
||||
except EInvalidIndex:
|
||||
except IndexError:
|
||||
echo "invalid index"
|
||||
|
||||
An `unchecked runtime error`:idx: is an error that is not guaranteed to be
|
||||
|
||||
@@ -7,8 +7,8 @@
|
||||
# distribution, for details about the copyright.
|
||||
#
|
||||
|
||||
## This module contains procs for serialization and deseralization of
|
||||
## arbitrary Nim data structures. The serialization format uses JSON.
|
||||
## This module contains procs for `serialization`:idx: and `deseralization`:idx:
|
||||
## of arbitrary Nim data structures. The serialization format uses `JSON`:idx:.
|
||||
##
|
||||
## **Restriction**: For objects their type is **not** serialized. This means
|
||||
## essentially that it does not work if the object has some other runtime
|
||||
|
||||
Reference in New Issue
Block a user