about summary refs log tree commit diff
path: root/src/libcollections
diff options
context:
space:
mode:
authorJoseph Crail <jbcrail@gmail.com>2014-06-08 13:22:49 -0400
committerJoseph Crail <jbcrail@gmail.com>2014-06-08 13:39:42 -0400
commit45e56eccbed3161dd9de547c6c2dcf618114a484 (patch)
tree4eb63b08a1f5beebc194419162b0f5c5dce1c0e5 /src/libcollections
parent17ba0cf4289d6da632aab4cf242ad74dea94fe37 (diff)
downloadrust-45e56eccbed3161dd9de547c6c2dcf618114a484.tar.gz
rust-45e56eccbed3161dd9de547c6c2dcf618114a484.zip
Fix spelling errors in comments.
Diffstat (limited to 'src/libcollections')
-rw-r--r--src/libcollections/vec.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libcollections/vec.rs b/src/libcollections/vec.rs
index 6ca21262f51..37546f64d5f 100644
--- a/src/libcollections/vec.rs
+++ b/src/libcollections/vec.rs
@@ -1532,7 +1532,7 @@ impl<T> FromVec<T> for ~[T] {
 
         // In a post-DST world, we can attempt to reuse the Vec allocation by calling
         // shrink_to_fit() on it. That may involve a reallocation+memcpy, but that's no
-        // diffrent than what we're doing manually here.
+        // different than what we're doing manually here.
 
         let vp = v.as_mut_ptr();