[ci skip] docs: make the syntax for generics easy to look up (#13754)

This commit is contained in:
Rory O’Kane
2020-03-25 16:09:23 -04:00
committed by GitHub
parent febd48f343
commit a8a464810e

View File

@@ -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