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