Skip to content

Commit 8443c1e

Browse files
committed
typo fix
1 parent 81bd267 commit 8443c1e

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)