docs: restore the important sentence about the mutable args that have to be marked on call

master
Delyan Angelov 2022-06-23 21:15:21 +03:00
parent e5bbb23389
commit ccc3271493
1 changed files with 2 additions and 1 deletions

View File

@ -2280,7 +2280,8 @@ Note that the embedded struct arguments are not necessarily stored in the order
### Immutable function args by default
In V function arguments are immutable by default.
In V function arguments are immutable by default, and mutable args have to be
marked on call.
Since there are also no globals, that means that the return values of the functions,
are a function of their arguments only, and their evaluation has no side effects