From 41ba953c3e10782b5921edd5584c7b26da1544cd Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Sun, 6 Mar 2022 11:44:09 +0000 Subject: [PATCH] utils: Replace a deprecated call --- src/utils.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/utils.rs b/src/utils.rs index 4fd153da..040e5891 100644 --- a/src/utils.rs +++ b/src/utils.rs @@ -75,7 +75,7 @@ impl OldNew { } pub fn into_iter(self) -> impl Iterator { - std::array::IntoIter::new(self.0) + IntoIterator::into_iter(self.0) } } -- 2.30.2