Skip to content

Commit

Permalink
Remove an excessive #[track_caller]
Browse files Browse the repository at this point in the history
As pointed out in #126557 (comment)

Co-authored-by: Jonas Böttiger <jonasboettiger@icloud.com>
  • Loading branch information
GrigorenkoPV and joboet authored Aug 22, 2024
1 parent 90d80a9 commit 848a645
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion library/alloc/src/collections/vec_deque/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -492,7 +492,6 @@ impl<T, A: Allocator> VecDeque<T, A> {
/// Frobs the head and tail sections around to handle the fact that we
/// just reallocated. Unsafe because it trusts old_capacity.
#[inline]
#[track_caller]
unsafe fn handle_capacity_increase(&mut self, old_capacity: usize) {
let new_capacity = self.capacity();
debug_assert!(new_capacity >= old_capacity);
Expand Down

0 comments on commit 848a645

Please sign in to comment.