Skip to content

Commit ccc3271

Browse files
committed
docs: restore the important sentence about the mutable args that have to be marked on call
1 parent e5bbb23 commit ccc3271

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

doc/docs.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2280,7 +2280,8 @@ Note that the embedded struct arguments are not necessarily stored in the order
22802280

22812281
### Immutable function args by default
22822282

2283-
In V function arguments are immutable by default.
2283+
In V function arguments are immutable by default, and mutable args have to be
2284+
marked on call.
22842285

22852286
Since there are also no globals, that means that the return values of the functions,
22862287
are a function of their arguments only, and their evaluation has no side effects

0 commit comments

Comments
 (0)