File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change 1
1
[alias ]
2
2
stacks-node = " run --package stacks-node --"
3
3
fmt-stacks = " fmt -- --config group_imports=StdExternalCrate,imports_granularity=Module"
4
- clippy-stacks = " clippy -p stx-genesis -p libstackerdb -p stacks-signer -p pox-locking -p clarity -p libsigner -p stacks-common --no-deps --tests --all-features -- -D warnings"
4
+ clippy-stacks = " clippy -p stx-genesis -p libstackerdb -p stacks-signer -p pox-locking -p clarity -p libsigner -p stacks-common --no-deps --tests --all-features -- -D warnings -A clippy::uninlined-format-args "
5
5
6
6
# Uncomment to improve performance slightly, at the cost of portability
7
7
# * Note that native binaries may not run on CPUs that are different from the build machine
Original file line number Diff line number Diff line change @@ -133,7 +133,7 @@ fn sha256_digest<R: Read>(mut reader: R) -> String {
133
133
fn encode_hex ( bytes : & [ u8 ] ) -> String {
134
134
let mut s = String :: with_capacity ( bytes. len ( ) * 2 ) ;
135
135
for & b in bytes {
136
- write ! ( & mut s, "{:02x}" , b ) . unwrap ( ) ;
136
+ write ! ( & mut s, "{b :02x}" ) . unwrap ( ) ;
137
137
}
138
138
s
139
139
}
You can’t perform that action at this time.
0 commit comments