From a8a464810e0473da61b9daf28311bc76411601bf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rory=20O=E2=80=99Kane?= Date: Wed, 25 Mar 2020 16:09:23 -0400 Subject: [PATCH] [ci skip] docs: make the syntax for generics easy to look up (#13754) --- doc/tut2.rst | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/doc/tut2.rst b/doc/tut2.rst index 9dbfa39c33..419e06930d 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