Skip to content

Commit f04a3f2

Browse files
committed
---
yaml --- r: 6984 b: refs/heads/master c: f0e9869 h: refs/heads/master v: v3
1 parent a8ea52c commit f04a3f2

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
---
2-
refs/heads/master: f8d7a1c2586ad1fda7358b445114c02b048149f5
2+
refs/heads/master: f0e98691dbf88d0fac7ae04d131e9059d0335527

trunk/doc/tutorial/args.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -104,6 +104,9 @@ Another style is by-move, which will cause the argument to become
104104
de-initialized on the caller side, and give ownership of it to the
105105
called function. This is written `-`.
106106

107+
Sometimes you need to pass a structural type by value, such as when
108+
interfacing with external native functions. This is written `++`.
109+
107110
Finally, the default passing styles (by-value for non-structural
108111
types, by-reference for structural ones) are written `+` for by-value
109112
and `&&` for by(-immutable)-reference. It is sometimes necessary to

0 commit comments

Comments
 (0)