doc improvements

This commit is contained in:
Araq 2014-11-27 09:31:40 +01:00
commit eb69b81859
2 changed files with 3 additions and 3 deletions

View file

@ -39,7 +39,7 @@ invalid:
let i = 5 let i = 5
try: try:
a[i] = 'N' a[i] = 'N'
except EInvalidIndex: except IndexError:
echo "invalid index" echo "invalid index"
An `unchecked runtime error`:idx: is an error that is not guaranteed to be An `unchecked runtime error`:idx: is an error that is not guaranteed to be

View file

@ -7,8 +7,8 @@
# distribution, for details about the copyright. # distribution, for details about the copyright.
# #
## This module contains procs for serialization and deseralization of ## This module contains procs for `serialization`:idx: and `deseralization`:idx:
## arbitrary Nim data structures. The serialization format uses JSON. ## of arbitrary Nim data structures. The serialization format uses `JSON`:idx:.
## ##
## **Restriction**: For objects their type is **not** serialized. This means ## **Restriction**: For objects their type is **not** serialized. This means
## essentially that it does not work if the object has some other runtime ## essentially that it does not work if the object has some other runtime