Add missing word in Box::from_unique docs

This commit is contained in:
Nikolai Vazquez
2017-10-06 17:39:38 -04:00
parent 5ce5b2fe76
commit 5af88ee996

View File

@@ -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
/// ///