We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 44d74e1 + 84a4bcb commit 0eb434dCopy full SHA for 0eb434d
1 file changed
src/expressions/field-expr.md
@@ -30,7 +30,8 @@ Finally, the fields of a struct or a reference to a struct are treated as
30
separate entities when borrowing. If the struct does not implement
31
[`Drop`](../special-types-and-traits.md#drop) and is stored in a local variable,
32
this also applies to moving out of each of its fields. This also does not apply
33
-if automatic dereferencing is done though user defined types.
+if automatic dereferencing is done though user defined types other than
34
+[`Box`](../special-types-and-traits.html#boxt).
35
36
```rust
37
struct A { f1: String, f2: String, f3: String }
0 commit comments