Fix warnings in preparation for Rust 1.54.0
This CL fixes several new warnings generated by rustc 1.54.0.
Bug: 194812675
Test: m rust
Change-Id: I104aaf07897db4df89dd1598969dd74221bfdd0b
diff --git a/vmconfig/src/lib.rs b/vmconfig/src/lib.rs
index 4a5b3b1..890051e 100644
--- a/vmconfig/src/lib.rs
+++ b/vmconfig/src/lib.rs
@@ -146,7 +146,7 @@
let images = self
.paths
.iter()
- .map(|path| open_parcel_file(&path, self.writable))
+ .map(|path| open_parcel_file(path, self.writable))
.collect::<Result<Vec<_>, _>>()?;
Ok(AidlPartition { images, writable: self.writable, label: self.label.to_owned() })
}