diff options
author | def <dennis@felsin9.de> | 2015-01-17 03:57:38 +0100 |
---|---|---|
committer | def <dennis@felsin9.de> | 2015-01-17 03:57:38 +0100 |
commit | c45367fc55347db4e4194977f93f2675d2ea546a (patch) | |
tree | 5ec65a86687b44c9e469a8984625949b73da2c88 | |
parent | 1a76d26360fc6e19b73a0d0b03d0c0b059587c6f (diff) | |
download | Nim-c45367fc55347db4e4194977f93f2675d2ea546a.tar.gz |
Clarify documentation about "except clauses"
They're called type conversions. Type casts are done with cast[T](...) and are not type safe.
-rw-r--r-- | doc/manual/exceptions.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/manual/exceptions.txt b/doc/manual/exceptions.txt index f18ab5635..0010d5d09 100644 --- a/doc/manual/exceptions.txt +++ b/doc/manual/exceptions.txt @@ -83,7 +83,7 @@ raised: Note that ``getCurrentException`` always returns a ``ref Exception`` type. If a variable of the proper type is needed (in the example -above, ``IOError``), one must use an explicit cast: +above, ``IOError``), one must convert it explicitly: .. code-block:: nim try: |