summary refs log tree commit diff stats
path: root/doc/manual/effects.txt
diff options
context:
space:
mode:
Diffstat (limited to 'doc/manual/effects.txt')
-rw-r--r--doc/manual/effects.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/manual/effects.txt b/doc/manual/effects.txt
index 73934ab34..a79f6ea85 100644
--- a/doc/manual/effects.txt
+++ b/doc/manual/effects.txt
@@ -29,9 +29,9 @@ compatibility:
 
 .. code-block:: nim
   type
-    TCallback = proc (s: string) {.raises: [IOError].}
+    Callback = proc (s: string) {.raises: [IOError].}
   var
-    c: TCallback
+    c: Callback
 
   proc p(x: string) =
     raise newException(OSError, "OS")