aya-obj: change two drain() calls to into_iter()

pull/572/head
Alessandro Decina 2 years ago
parent 401ea5e848
commit b25a089819

@ -753,7 +753,7 @@ impl Object {
section.index,
section
.relocations
.drain(..)
.into_iter()
.map(|rel| (rel.offset, rel))
.collect(),
);
@ -871,7 +871,7 @@ impl Object {
section.index,
section
.relocations
.drain(..)
.into_iter()
.map(|rel| (rel.offset, rel))
.collect(),
);

Loading…
Cancel
Save