mirror of
https://github.com/hl-archive-node/nanoreth.git
synced 2025-12-06 10:59:55 +00:00
Enable clippy's uninlined_format_args linter (#7204)
Co-authored-by: Matthias Seitz <matthias.seitz@outlook.de>
This commit is contained in:
@ -247,7 +247,7 @@ where
|
||||
let msg = if bytes.len() > 50 {
|
||||
format!("{:02x?}...{:x?}", &bytes[..10], &bytes[bytes.len() - 10..])
|
||||
} else {
|
||||
format!("{:02x?}", bytes)
|
||||
format!("{bytes:02x?}")
|
||||
};
|
||||
debug!(
|
||||
version=?this.version,
|
||||
|
||||
Reference in New Issue
Block a user