Skip to content

Commit

Permalink
Add missing word in Box::from_unique docs
Browse files Browse the repository at this point in the history
  • Loading branch information
nvzqz committed Oct 6, 2017
1 parent 5ce5b2f commit 5af88ee
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/liballoc/boxed.rs
Expand Up @@ -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
///
Expand Down

0 comments on commit 5af88ee

Please sign in to comment.