summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--doc/tut2.rst3
1 files changed, 2 insertions, 1 deletions
diff --git a/doc/tut2.rst b/doc/tut2.rst
index 9dbfa39c3..419e06930 100644
--- a/doc/tut2.rst
+++ b/doc/tut2.rst
@@ -469,7 +469,8 @@ Generics
 ========
 
 Generics are Nim's means to parametrize procs, iterators or types
-with `type parameters`:idx:. They are most useful for efficient type safe
+with `type parameters`:idx:. Generic parameters are written within square
+brackets, for example ``Foo[T]``. They are most useful for efficient type safe
 containers:
 
 .. code-block:: nim