Changes for Rust 1.72
Remove unneeded into_iter().
Bug: 295883071
Change-Id: Ib5712efc3fa9fc2c1548c7405ca142ed1f68a028
diff --git a/compos/src/artifact_signer.rs b/compos/src/artifact_signer.rs
index 908e438..76da00a 100644
--- a/compos/src/artifact_signer.rs
+++ b/compos/src/artifact_signer.rs
@@ -63,7 +63,7 @@
/// with accompanying sigature file.
pub fn write_info_and_signature(self, info_path: &Path) -> Result<()> {
let mut info = OdsignInfo::new();
- info.file_hashes.extend(self.file_digests.into_iter());
+ info.file_hashes.extend(self.file_digests);
let bytes = info.write_to_bytes()?;
let signature = compos_key::sign(&bytes)?;