diff options
| author | Michael Goulet <michael@errs.io> | 2023-04-28 17:36:49 +0000 |
|---|---|---|
| committer | Michael Goulet <michael@errs.io> | 2023-04-28 17:36:49 +0000 |
| commit | 33871c97ab67d90cfca5c22183f3a4e200d6a976 (patch) | |
| tree | 2e31168c04fc8a20c2ef6a3b587fd65af55fbe69 /library/alloc/src/collections/vec_deque | |
| parent | 1c42cb4ef0544fbfaa500216e53382d6b079c001 (diff) | |
| download | rust-33871c97ab67d90cfca5c22183f3a4e200d6a976.tar.gz rust-33871c97ab67d90cfca5c22183f3a4e200d6a976.zip | |
Make sure that signatures aren't accidental refinements
Diffstat (limited to 'library/alloc/src/collections/vec_deque')
| -rw-r--r-- | library/alloc/src/collections/vec_deque/mod.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/library/alloc/src/collections/vec_deque/mod.rs b/library/alloc/src/collections/vec_deque/mod.rs index 8916b42eda0..896da37f94c 100644 --- a/library/alloc/src/collections/vec_deque/mod.rs +++ b/library/alloc/src/collections/vec_deque/mod.rs @@ -2815,7 +2815,7 @@ impl<'a, T: 'a + Copy, A: Allocator> Extend<&'a T> for VecDeque<T, A> { } #[inline] - fn extend_one(&mut self, &elem: &T) { + fn extend_one(&mut self, &elem: &'a T) { self.push_back(elem); } |
