diff --git a/doc/manual/definitions.txt b/doc/manual/definitions.txt index 687980dbc1..9eb20f70f7 100644 --- a/doc/manual/definitions.txt +++ b/doc/manual/definitions.txt @@ -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 diff --git a/lib/pure/marshal.nim b/lib/pure/marshal.nim index fc63605a9b..02abda722d 100644 --- a/lib/pure/marshal.nim +++ b/lib/pure/marshal.nim @@ -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