Skip to content

Commit af47c72

Browse files
committed
Merge rust-bitcoin#4645: Automated nightly rustfmt (2025-06-29)
4e869b7 2025-06-29 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 4e869b7 apoelstra: ACK 4e869b7; successfully ran local tests Tree-SHA512: 7b41949d5a15df2532935f8b38156912e704dd0ba5100b6eff6bc6f7b646f11ce863a7fcca79317967a4e9ad745aa3a264c328b2bf93d80a8e978c3815dbbea6
2 parents 6df0c82 + 4e869b7 commit af47c72

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

bitcoin/src/blockdata/transaction.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1142,7 +1142,7 @@ impl InputWeightPrediction {
11421142

11431143
/// Computes the **signature weight** added to a transaction by an input with this weight prediction,
11441144
/// not counting the prevout (txid, index), sequence, potential witness flag bytes or the witness count varint.
1145-
///
1145+
///
11461146
/// This function's internal arithmetic saturates at u32::MAX, so the return value of this
11471147
/// function may be inaccurate for extremely large witness predictions.
11481148
///

units/src/locktime/relative.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -313,7 +313,7 @@ mod tests {
313313
let locktime = NumberOf512Seconds::from_512_second_intervals(intervals);
314314
assert_eq!(locktime.to_512_second_intervals(), intervals);
315315
}
316-
316+
317317
#[test]
318318
fn from_seconds_ceil_success() {
319319
let actual = NumberOf512Seconds::from_seconds_ceil(100).unwrap();

0 commit comments

Comments
 (0)