summary refs log tree commit diff stats
path: root/doc/docgen.rst
diff options
context:
space:
mode:
Diffstat (limited to 'doc/docgen.rst')
-rw-r--r--doc/docgen.rst6
1 files changed, 3 insertions, 3 deletions
diff --git a/doc/docgen.rst b/doc/docgen.rst
index e6693e153..d196b3a18 100644
--- a/doc/docgen.rst
+++ b/doc/docgen.rst
@@ -303,9 +303,9 @@ symbols in the `system module <system.html>`_.
   `#len,seq[T] <system.html#len,seq[T]>`_
 * ``iterator pairs[T](a: seq[T]): tuple[key: int, val: T] {.inline.}`` **=>**
   `#pairs.i,seq[T] <system.html#pairs.i,seq[T]>`_
-* ``template newException[](exceptn: typedesc; message: string): expr`` **=>**
-  `#newException.t,typedesc,string
-  <system.html#newException.t,typedesc,string>`_
+* ``template newException[](exceptn: type; message: string): expr`` **=>**
+  `#newException.t,type,string
+  <system.html#newException.t,type,string>`_
 
 
 Index (idx) file format