Skip to content

Commit

Permalink
Rollup merge of #39784 - king6cong:master, r=GuillaumeGomez
Browse files Browse the repository at this point in the history
typo fix
  • Loading branch information
frewsxcv authored Feb 13, 2017
2 parents e9abf4b + 8443c1e commit 2a030bf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/libcollections/vec.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand Down

0 comments on commit 2a030bf

Please sign in to comment.