From: Ian Jackson Date: Sun, 6 Mar 2022 11:44:09 +0000 (+0000) Subject: utils: Replace a deprecated call X-Git-Tag: otter-1.0.0~159 X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=commitdiff_plain;h=41ba953c3e10782b5921edd5584c7b26da1544cd;p=otter.git utils: Replace a deprecated call --- 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) } }