about summary refs log tree commit diff
path: root/src/liballoc
diff options
context:
space:
mode:
authorTshepang Lekhonkhobe <tshepang@gmail.com>2016-01-14 20:52:51 +0200
committerTshepang Lekhonkhobe <tshepang@gmail.com>2016-01-14 20:52:51 +0200
commit7d446ce555db74efcab58048ba7d2b8cd21dcca4 (patch)
treef66833e6cb84d51194fdcedd363e6ca4675de35b /src/liballoc
parent02fbf31fb26e0b5eccf34cef8a5f8becef6f3ada (diff)
downloadrust-7d446ce555db74efcab58048ba7d2b8cd21dcca4.tar.gz
rust-7d446ce555db74efcab58048ba7d2b8cd21dcca4.zip
doc: "moves" has a specific meaning in Rust, so avoid using it here
Diffstat (limited to 'src/liballoc')
-rw-r--r--src/liballoc/boxed.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/liballoc/boxed.rs b/src/liballoc/boxed.rs
index efc28be92a4..6979c0ebb2d 100644
--- a/src/liballoc/boxed.rs
+++ b/src/liballoc/boxed.rs
@@ -222,7 +222,7 @@ impl<T: ?Sized> Drop for IntermediateBox<T> {
 }
 
 impl<T> Box<T> {
-    /// Allocates memory on the heap and then moves `x` into it.
+    /// Allocates memory on the heap and then places `x` into it.
     ///
     /// # Examples
     ///