summaryrefslogtreecommitdiffstats
path: root/adenosine-pds/src/car.rs
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@robocracy.org>2022-11-22 11:31:06 -0800
committerBryan Newbold <bnewbold@robocracy.org>2022-11-22 11:31:06 -0800
commitf1b80f13f9408db9f76410c717d67d4f9cf7ed2a (patch)
tree78e19b2422f82a8b040e68e50758f4f6299a67fb /adenosine-pds/src/car.rs
parent4fd86c1b2191aaaabc2b8a6ec5fc1078d75a28b5 (diff)
downloadadenosine-f1b80f13f9408db9f76410c717d67d4f9cf7ed2a.tar.gz
adenosine-f1b80f13f9408db9f76410c717d67d4f9cf7ed2a.zip
clippy cleanups
Diffstat (limited to 'adenosine-pds/src/car.rs')
-rw-r--r--adenosine-pds/src/car.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/adenosine-pds/src/car.rs b/adenosine-pds/src/car.rs
index 832c87e..22f83bc 100644
--- a/adenosine-pds/src/car.rs
+++ b/adenosine-pds/src/car.rs
@@ -87,7 +87,7 @@ async fn inner_car_bytes_reader(
db: &mut BlockStore<libipld::DefaultParams>,
root: &Cid,
) -> Result<Vec<u8>> {
- let car_header = CarHeader::new_v1(vec![root.clone()]);
+ let car_header = CarHeader::new_v1(vec![*root]);
let buf: Vec<u8> = Default::default();
let mut car_writer = CarWriter::new(car_header, buf);