We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents f8d7a1c + eba891e commit f0e9869Copy full SHA for f0e9869
doc/tutorial/args.md
@@ -104,6 +104,9 @@ Another style is by-move, which will cause the argument to become
104
de-initialized on the caller side, and give ownership of it to the
105
called function. This is written `-`.
106
107
+Sometimes you need to pass a structural type by value, such as when
108
+interfacing with external native functions. This is written `++`.
109
+
110
Finally, the default passing styles (by-value for non-structural
111
types, by-reference for structural ones) are written `+` for by-value
112
and `&&` for by(-immutable)-reference. It is sometimes necessary to
0 commit comments