Add missing word in Box::from_unique docs
This commit is contained in:
parent
5ce5b2fe76
commit
5af88ee996
@ -274,8 +274,8 @@ impl<T: ?Sized> Box<T> {
|
||||
|
||||
/// Constructs a `Box` from a `Unique<T>` pointer.
|
||||
///
|
||||
/// After calling this function, the memory is owned by a `Box` and `T` then
|
||||
/// be destroyed and released upon drop.
|
||||
/// After calling this function, the memory is owned by a `Box` and `T` can
|
||||
/// then be destroyed and released upon drop.
|
||||
///
|
||||
/// # Safety
|
||||
///
|
||||
|
Loading…
Reference in New Issue
Block a user