mirror of
https://github.com/nim-lang/Nim.git
synced 2026-01-03 11:42:33 +00:00
fixes #1324
This commit is contained in:
@@ -297,6 +297,11 @@ One can use `tuple unpacking`:idx: to access the tuple's fields:
|
||||
assert y == 3
|
||||
|
||||
|
||||
**Note**: ``var`` parameters are never necessary for efficient parameter
|
||||
passing. Since non-var parameters cannot be modified the compiler is always
|
||||
free to pass arguments by reference if it considers it can speed up execution.
|
||||
|
||||
|
||||
Var return type
|
||||
---------------
|
||||
|
||||
|
||||
Reference in New Issue
Block a user