Skip to content

Commit af60851

Browse files
committed
fix track caller call
1 parent e486a9a commit af60851

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

library/alloc/src/vec/mod.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -2628,9 +2628,9 @@ impl<T, A: Allocator> Vec<T, A> {
26282628
/// append the entire slice at once.
26292629
///
26302630
/// [`copy_from_slice`]: slice::copy_from_slice
2631-
#[track_caller]
26322631
#[stable(feature = "extend_ref", since = "1.2.0")]
26332632
impl<'a, T: Copy + 'a, A: Allocator + 'a> Extend<&'a T> for Vec<T, A> {
2633+
#[track_caller]
26342634
fn extend<I: IntoIterator<Item = &'a T>>(&mut self, iter: I) {
26352635
self.spec_extend(iter.into_iter())
26362636
}

0 commit comments

Comments
 (0)