Fix typo
This commit is contained in:
parent
363b7ff3b8
commit
4bd77cf045
1 changed files with 1 additions and 1 deletions
|
|
@ -104,7 +104,7 @@ cannot have the type ``void``.
|
||||||
Covariance
|
Covariance
|
||||||
==========
|
==========
|
||||||
|
|
||||||
Covariance in Nim can be introduced only though pointer-like types such
|
Covariance in Nim can be introduced only through pointer-like types such
|
||||||
as ``ptr`` and ``ref``. Sequence, Array and OpenArray types, instantiated
|
as ``ptr`` and ``ref``. Sequence, Array and OpenArray types, instantiated
|
||||||
with pointer-like types will be considered covariant if and only if they
|
with pointer-like types will be considered covariant if and only if they
|
||||||
are also immutable. The introduction of a ``var`` modifier or additional
|
are also immutable. The introduction of a ``var`` modifier or additional
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue