[ci skip] docs: make the syntax for generics easy to look up (#13754)
This commit is contained in:
parent
febd48f343
commit
a8a464810e
1 changed files with 2 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue