about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorCorey Farwell <coreyf@rwell.org>2017-02-13 10:58:53 -0500
committerGitHub <noreply@github.com>2017-02-13 10:58:53 -0500
commit2a030bf6f106994ed59e341658782d8d44d4b3f8 (patch)
tree3df1285f4cd0776011705f58fd80012ac759ebf8 /src
parente9abf4bbf317a9fb50164aa219c2b2a1c98cd3df (diff)
parent8443c1e3b0676bc44f964275d19d15de5960c1a4 (diff)
downloadrust-2a030bf6f106994ed59e341658782d8d44d4b3f8.tar.gz
rust-2a030bf6f106994ed59e341658782d8d44d4b3f8.zip
Rollup merge of #39784 - king6cong:master, r=GuillaumeGomez
typo fix
Diffstat (limited to 'src')
-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 3873b3535a0..9e3f117f9b2 100644
--- a/src/libcollections/vec.rs
+++ b/src/libcollections/vec.rs
@@ -1213,7 +1213,7 @@ impl<T: Clone> Vec<T> {
         unsafe {
             let mut ptr = self.as_mut_ptr().offset(self.len() as isize);
             // Use SetLenOnDrop to work around bug where compiler
-            // may not realize the store through `ptr` trough self.set_len()
+            // may not realize the store through `ptr` through self.set_len()
             // don't alias.
             let mut local_len = SetLenOnDrop::new(&mut self.len);