This commit is contained in:
Clyybber
2020-05-08 16:13:53 +02:00
committed by GitHub
parent 363b7ff3b8
commit 4bd77cf045

View File

@@ -104,7 +104,7 @@ cannot have the type ``void``.
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
with pointer-like types will be considered covariant if and only if they
are also immutable. The introduction of a ``var`` modifier or additional