We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 81bd267 commit 8443c1eCopy full SHA for 8443c1e
src/libcollections/vec.rs
@@ -1213,7 +1213,7 @@ impl<T: Clone> Vec<T> {
1213
unsafe {
1214
let mut ptr = self.as_mut_ptr().offset(self.len() as isize);
1215
// Use SetLenOnDrop to work around bug where compiler
1216
- // may not realize the store through `ptr` trough self.set_len()
+ // may not realize the store through `ptr` through self.set_len()
1217
// don't alias.
1218
let mut local_len = SetLenOnDrop::new(&mut self.len);
1219
0 commit comments