diff options
| author | Corey Farwell <coreyf@rwell.org> | 2017-02-13 10:58:53 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2017-02-13 10:58:53 -0500 |
| commit | 2a030bf6f106994ed59e341658782d8d44d4b3f8 (patch) | |
| tree | 3df1285f4cd0776011705f58fd80012ac759ebf8 /src | |
| parent | e9abf4bbf317a9fb50164aa219c2b2a1c98cd3df (diff) | |
| parent | 8443c1e3b0676bc44f964275d19d15de5960c1a4 (diff) | |
| download | rust-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.rs | 2 |
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); |
