Skip to content

Commit c87ff5e

Browse files
committed
manual: remove box-specific language.
1 parent 382e85c commit c87ff5e

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

doc/rust.md

+4-5
Original file line numberDiff line numberDiff line change
@@ -1647,11 +1647,10 @@ They are all written as prefix operators, before the expression they apply to.
16471647
`-`
16481648
: Negation. May only be applied to numeric types.
16491649
`*`
1650-
: Dereference. When applied to a [pointer](#pointer-types) it denotes the pointed-to location. For
1651-
mutable boxes, the resulting [lvalue](#lvalues-rvalues-and-temporaries) can be assigned to. For
1652-
[enums](#enumerated-types) that have only a single variant,
1653-
containing a single parameter, the dereference operator accesses
1654-
this parameter.
1650+
: Dereference. When applied to a [pointer](#pointer-types) it denotes the pointed-to location.
1651+
For pointers to mutable locations, the resulting [lvalue](#lvalues-rvalues-and-temporaries) can be assigned to.
1652+
For [enums](#enumerated-types) that have only a single variant, containing a single parameter,
1653+
the dereference operator accesses this parameter.
16551654
`!`
16561655
: Logical negation. On the boolean type, this flips between `true` and
16571656
`false`. On integer types, this inverts the individual bits in the

0 commit comments

Comments
 (0)