From 4df4c0d00be1e35fe2e47bbec277504bcdb4c381 Mon Sep 17 00:00:00 2001 From: yanchith Date: Fri, 9 Jun 2023 12:19:17 +0200 Subject: [PATCH] Don't explicitly name Global --- library/alloc/src/collections/binary_heap/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/alloc/src/collections/binary_heap/mod.rs b/library/alloc/src/collections/binary_heap/mod.rs index 657c380d65d..904e163da88 100644 --- a/library/alloc/src/collections/binary_heap/mod.rs +++ b/library/alloc/src/collections/binary_heap/mod.rs @@ -1563,7 +1563,7 @@ unsafe impl SourceIter for IntoIter { #[doc(hidden)] unsafe impl InPlaceIterable for IntoIter {} -unsafe impl AsVecIntoIter for IntoIter { +unsafe impl AsVecIntoIter for IntoIter { type Item = I; fn as_into_iter(&mut self) -> &mut vec::IntoIter {