Skip to content

Commit 2363faa

Browse files
GrigorenkoPVjoboet
andcommitted
Remove an excessive #[track_caller]
As pointed out in #126557 (comment) Co-authored-by: Jonas Böttiger <[email protected]>
1 parent 191e645 commit 2363faa

File tree

1 file changed

+0
-1
lines changed
  • library/alloc/src/collections/vec_deque

1 file changed

+0
-1
lines changed

library/alloc/src/collections/vec_deque/mod.rs

-1
Original file line numberDiff line numberDiff line change
@@ -492,7 +492,6 @@ impl<T, A: Allocator> VecDeque<T, A> {
492492
/// Frobs the head and tail sections around to handle the fact that we
493493
/// just reallocated. Unsafe because it trusts old_capacity.
494494
#[inline]
495-
#[track_caller]
496495
unsafe fn handle_capacity_increase(&mut self, old_capacity: usize) {
497496
let new_capacity = self.capacity();
498497
debug_assert!(new_capacity >= old_capacity);

0 commit comments

Comments
 (0)