diff options
| author | Nikolai Vazquez <nvazquez1297@gmail.com> | 2017-10-06 17:39:38 -0400 |
|---|---|---|
| committer | Nikolai Vazquez <nvazquez1297@gmail.com> | 2017-10-06 17:39:38 -0400 |
| commit | 5af88ee9969320ef900190e1e6a8247d800b7fe6 (patch) | |
| tree | 453e55377341ae6edf128c4d687e7c5b136587c0 /src/liballoc | |
| parent | 5ce5b2fe76802385e2974bdec8d82117fb55d0ea (diff) | |
| download | rust-5af88ee9969320ef900190e1e6a8247d800b7fe6.tar.gz rust-5af88ee9969320ef900190e1e6a8247d800b7fe6.zip | |
Add missing word in Box::from_unique docs
Diffstat (limited to 'src/liballoc')
| -rw-r--r-- | src/liballoc/boxed.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/liballoc/boxed.rs b/src/liballoc/boxed.rs index 53d643e7288..2c14dfb1dd0 100644 --- a/src/liballoc/boxed.rs +++ b/src/liballoc/boxed.rs @@ -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 /// |
