File tree 2 files changed +2
-5
lines changed
2 files changed +2
-5
lines changed Original file line number Diff line number Diff line change 1
1
---
2
- refs/heads/master: bd6646e698c38564b8b324ec8cf30305db6a409a
2
+ refs/heads/master: 7ea175f23fb3aa35f430d55595b9564a5ab632f8
Original file line number Diff line number Diff line change @@ -104,11 +104,8 @@ Another style is by-move, which will cause the argument to become
104
104
de-initialized on the caller side, and give ownership of it to the
105
105
called function. This is written ` - ` .
106
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
107
Finally, the default passing styles (by-value for non-structural
111
- types, by-reference for structural ones) are written ` + ` for by-value
108
+ types, by-reference for structural ones) are written ` ++ ` for by-value
112
109
and ` && ` for by(-immutable)-reference. It is sometimes necessary to
113
110
override the defaults. We'll talk more about this when discussing
114
111
[ generics] [ gens ] .
You can’t perform that action at this time.
0 commit comments