Skip to content

Commit

Permalink
chore: resolve clippy complaints
Browse files Browse the repository at this point in the history
  • Loading branch information
maqi committed Jun 14, 2024
1 parent b1a9cf9 commit a09f60c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion sn_networking/src/log_markers.rs
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,8 @@ use strum::Display;
pub enum Marker<'a> {
#[allow(dead_code)]
/// Close records held (Used in VDash)
CloseRecordsLen(&'a usize),
#[allow(dead_code)]
CloseRecordsLen(usize),
/// Store cost
StoreCost {
/// Cost
Expand Down
2 changes: 1 addition & 1 deletion sn_networking/src/record_store.rs
Original file line number Diff line number Diff line change
Expand Up @@ -614,7 +614,7 @@ impl NodeRecordStore {
})
.count();

Marker::CloseRecordsLen(&relevant_records_len).log();
Marker::CloseRecordsLen(relevant_records_len).log();
relevant_records_len
}

Expand Down

0 comments on commit a09f60c

Please sign in to comment.