Skip to content

Commit

Permalink
fmt, clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
Leouarz committed Apr 22, 2024
1 parent 8f3acac commit af1db5f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/src/data_lookup/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ impl TryFrom<CompactDataLookup> for DataLookup {
impl Encode for DataLookup {
/// Encodes as a `compact::DataLookup`.
fn encode(&self) -> Vec<u8> {
let compacted: CompactDataLookup = CompactDataLookup::from_data_lookup(&self);
let compacted: CompactDataLookup = CompactDataLookup::from_data_lookup(self);
compacted.encode()
}
}
Expand Down

0 comments on commit af1db5f

Please sign in to comment.