Skip to content

Commit c0e5b96

Browse files
committed
fix(rust/cardano-chain-follower): remove unused clone
1 parent 428d2b5 commit c0e5b96

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

rust/hermes-ipfs/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,7 @@ impl HermesIpfs {
181181
///
182182
/// Returns an error if pinning fails.
183183
pub async fn insert_pin(&self, cid: &Cid) -> anyhow::Result<()> {
184-
self.node.insert_pin(cid.clone()).await
184+
self.node.insert_pin(cid).await
185185
}
186186

187187
/// Checks whether a given block is pinned.

0 commit comments

Comments
 (0)