Skip to content

Commit 2a030bf

Browse files
authored
Rollup merge of #39784 - king6cong:master, r=GuillaumeGomez
typo fix
2 parents e9abf4b + 8443c1e commit 2a030bf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/libcollections/vec.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1213,7 +1213,7 @@ impl<T: Clone> Vec<T> {
12131213
unsafe {
12141214
let mut ptr = self.as_mut_ptr().offset(self.len() as isize);
12151215
// Use SetLenOnDrop to work around bug where compiler
1216-
// may not realize the store through `ptr` trough self.set_len()
1216+
// may not realize the store through `ptr` through self.set_len()
12171217
// don't alias.
12181218
let mut local_len = SetLenOnDrop::new(&mut self.len);
12191219

0 commit comments

Comments
 (0)