chiark
/
gitweb
/
~ianmdlvl
/
otter.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ff3189f
)
utils: Replace a deprecated call
author
Ian Jackson
<ijackson@chiark.greenend.org.uk>
Sun, 6 Mar 2022 11:44:09 +0000
(11:44 +0000)
committer
Ian Jackson
<ijackson@chiark.greenend.org.uk>
Sun, 6 Mar 2022 11:44:09 +0000
(11:44 +0000)
src/utils.rs
patch
|
blob
|
history
diff --git
a/src/utils.rs
b/src/utils.rs
index 4fd153da6ed3f9c0a301b40f4d9da972f010ae2c..040e589127c8ed83a1e75471134c967b1538c0f1 100644
(file)
--- a/
src/utils.rs
+++ b/
src/utils.rs
@@
-75,7
+75,7
@@
impl<T> OldNew<T> {
}
pub fn into_iter(self) -> impl Iterator<Item=T> {
-
std::array::IntoIter::new
(self.0)
+
IntoIterator::into_iter
(self.0)
}
}