Skip to content

Commit

Permalink
fix: clippy lints (#8)
Browse files Browse the repository at this point in the history
  • Loading branch information
jmg-duarte authored May 22, 2024
1 parent c394d89 commit 256be7c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/codec.rs
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ impl<'a> TryFrom<&'a Ipld> for PbNodeRef<'a> {
// that it errors.
return Err(Error::LinksWrongOrder);
}
prev_name = name.clone()
prev_name.clone_from(name)
}
node.links.push(pb_link)
}
Expand Down

0 comments on commit 256be7c

Please sign in to comment.