This commit is contained in:
Clyybber 2020-05-08 16:13:53 +02:00 • committed by GitHub
commit 4bd77cf045
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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