diff --git a/doc/manual/types.txt b/doc/manual/types.txt index e6875f2df0..2c4b019ad1 100644 --- a/doc/manual/types.txt +++ b/doc/manual/types.txt @@ -570,8 +570,7 @@ order. The *names* of the fields also have to be identical. The assignment operator for tuples copies each component. The default assignment operator for objects copies each component. Overloading -of the assignment operator for objects is not possible, but this will change -in future versions of the compiler. +of the assignment operator is described in `type-bound-operations-operator`_. .. code-block:: nim diff --git a/doc/tut1.rst b/doc/tut1.rst index 89893a39a9..be5cd8c115 100644 --- a/doc/tut1.rst +++ b/doc/tut1.rst @@ -185,9 +185,8 @@ to a storage location: var x = "abc" # introduces a new variable `x` and assigns a value to it x = "xyz" # assigns a new value to `x` -``=`` is the *assignment operator*. The assignment operator cannot be -overloaded, overwritten or forbidden, but this might change in a future version -of Nim. You can declare multiple variables with a single assignment +``=`` is the *assignment operator*. The assignment operator can be +overloaded. You can declare multiple variables with a single assignment statement and all the variables will have the same value: .. code-block::