Skip to content

Commit fb38e1b

Browse files
committed
Merge rust-bitcoin#4487: Automated nightly rustfmt (2025-05-11)
37d2f7e 2025-05-11 automated rustfmt nightly (Fmt Bot) Pull request description: Automated nightly `rustfmt` changes by [create-pull-request](https://github.com/peter-evans/create-pull-request) GitHub action ACKs for top commit: tcharding: ACK 37d2f7e apoelstra: ACK 37d2f7e; successfully ran local tests Tree-SHA512: 6a3902cf487ec5a4639700034dcaf04214188f79abf0e9ae08191acd57e151084d74b3145471ccadfa942057235621fe2a46d3c21c7b5dcf295133cdcf0fc9d7
2 parents a8e85b6 + 37d2f7e commit fb38e1b

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

units/src/fee.rs

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -345,10 +345,7 @@ mod tests {
345345

346346
#[test]
347347
fn fee_wu() {
348-
let operation = FeeRate::from_sat_per_kwu(10)
349-
.to_fee(Weight::MAX)
350-
.unwrap_err()
351-
.operation();
348+
let operation = FeeRate::from_sat_per_kwu(10).to_fee(Weight::MAX).unwrap_err().operation();
352349
assert!(operation.is_multiplication());
353350

354351
let fee_rate = FeeRate::from_sat_per_vb(2).unwrap();

0 commit comments

Comments
 (0)