Skip to content

Commit

Permalink
chore: Happify clippy
Browse files Browse the repository at this point in the history
The `usize` coming from `signoffs.len()` already implements `Display`
so no need to map it to a string before inserting it into the
formatter.
  • Loading branch information
aszepieniec committed Jan 24, 2025
1 parent e1d1673 commit 31bf6db
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/models/blockchain.rs
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ mod tests {
return format!("🅾 {name}");
}

format!("{} {name}", sign_offs.len().to_string())
format!("{} {name}", sign_offs.len())
}

let all_consensus_critical_imports = name_and_lib![
Expand Down

0 comments on commit 31bf6db

Please sign in to comment.