File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -105,9 +105,9 @@ impl<T : ?Sized> Box<T> {
105
105
/// After this function call, pointer is owned by resulting box.
106
106
/// In particular, it means that `Box` destructor calls destructor
107
107
/// of `T` and releases memory. Since the way `Box` allocates and
108
- /// releases memory is unspecified, so the only valid pointer to
109
- /// pass to this function is the one taken from another `Box` with
110
- /// `box ::into_raw` function.
108
+ /// releases memory is unspecified, the only valid pointer to pass
109
+ /// to this function is the one taken from another `Box` with
110
+ /// `boxed ::into_raw` function.
111
111
///
112
112
/// Function is unsafe, because improper use of this function may
113
113
/// lead to memory problems like double-free, for example if the
You can’t perform that action at this time.
0 commit comments