Skip to content

Commit 22c55a9

Browse files
authored
Remove extraneous comment
1 parent 1e5a8b4 commit 22c55a9

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

library/alloc/src/vec/mod.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2473,7 +2473,6 @@ impl<T, A: Allocator> Vec<T, A> {
24732473
let end = self.as_mut_ptr().add(self.len);
24742474
ptr::write(end, value);
24752475
self.len += 1;
2476-
// SAFETY: We just wrote a value to the pointer that will live the lifetime of the reference.
24772476
Ok(())
24782477
}
24792478
}

0 commit comments

Comments
 (0)