From 29811ba82cc598d08dc877825ecf8890c48d23b7 Mon Sep 17 00:00:00 2001 From: "Tobin C. Harding" Date: Mon, 23 Dec 2024 15:49:33 +1100 Subject: [PATCH] api: Run just check-api Note that the changes here are not actually API breaking changes, they are only changes to the parameter name. --- api/units/all-features.txt | 6 +++--- api/units/alloc-only.txt | 6 +++--- api/units/no-features.txt | 2 +- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/api/units/all-features.txt b/api/units/all-features.txt index 23ad868e2..b6fe439c6 100644 --- a/api/units/all-features.txt +++ b/api/units/all-features.txt @@ -713,8 +713,8 @@ pub const bitcoin_units::weight::Weight::WITNESS_SCALE_FACTOR: u64 pub const bitcoin_units::weight::Weight::ZERO: bitcoin_units::weight::Weight pub const fn bitcoin_units::Amount::checked_add(self, rhs: bitcoin_units::Amount) -> core::option::Option pub const fn bitcoin_units::Amount::checked_div(self, rhs: u64) -> core::option::Option -pub const fn bitcoin_units::Amount::checked_div_by_weight_ceil(self, rhs: bitcoin_units::weight::Weight) -> core::option::Option -pub const fn bitcoin_units::Amount::checked_div_by_weight_floor(self, rhs: bitcoin_units::weight::Weight) -> core::option::Option +pub const fn bitcoin_units::Amount::checked_div_by_weight_ceil(self, weight: bitcoin_units::weight::Weight) -> core::option::Option +pub const fn bitcoin_units::Amount::checked_div_by_weight_floor(self, weight: bitcoin_units::weight::Weight) -> core::option::Option pub const fn bitcoin_units::Amount::checked_mul(self, rhs: u64) -> core::option::Option pub const fn bitcoin_units::Amount::checked_rem(self, rhs: u64) -> core::option::Option pub const fn bitcoin_units::Amount::checked_sub(self, rhs: bitcoin_units::Amount) -> core::option::Option @@ -737,7 +737,7 @@ pub const fn bitcoin_units::block::BlockInterval::to_u32(self) -> u32 pub const fn bitcoin_units::fee_rate::FeeRate::checked_add(self, rhs: u64) -> core::option::Option pub const fn bitcoin_units::fee_rate::FeeRate::checked_div(self, rhs: u64) -> core::option::Option pub const fn bitcoin_units::fee_rate::FeeRate::checked_mul(self, rhs: u64) -> core::option::Option -pub const fn bitcoin_units::fee_rate::FeeRate::checked_mul_by_weight(self, rhs: bitcoin_units::weight::Weight) -> core::option::Option +pub const fn bitcoin_units::fee_rate::FeeRate::checked_mul_by_weight(self, weight: bitcoin_units::weight::Weight) -> core::option::Option pub const fn bitcoin_units::fee_rate::FeeRate::checked_sub(self, rhs: u64) -> core::option::Option pub const fn bitcoin_units::fee_rate::FeeRate::from_sat_per_kvb(sat_kvb: u64) -> Self pub const fn bitcoin_units::fee_rate::FeeRate::from_sat_per_kwu(sat_kwu: u64) -> Self diff --git a/api/units/alloc-only.txt b/api/units/alloc-only.txt index ae1768dec..365d8d466 100644 --- a/api/units/alloc-only.txt +++ b/api/units/alloc-only.txt @@ -664,8 +664,8 @@ pub const bitcoin_units::weight::Weight::WITNESS_SCALE_FACTOR: u64 pub const bitcoin_units::weight::Weight::ZERO: bitcoin_units::weight::Weight pub const fn bitcoin_units::Amount::checked_add(self, rhs: bitcoin_units::Amount) -> core::option::Option pub const fn bitcoin_units::Amount::checked_div(self, rhs: u64) -> core::option::Option -pub const fn bitcoin_units::Amount::checked_div_by_weight_ceil(self, rhs: bitcoin_units::weight::Weight) -> core::option::Option -pub const fn bitcoin_units::Amount::checked_div_by_weight_floor(self, rhs: bitcoin_units::weight::Weight) -> core::option::Option +pub const fn bitcoin_units::Amount::checked_div_by_weight_ceil(self, weight: bitcoin_units::weight::Weight) -> core::option::Option +pub const fn bitcoin_units::Amount::checked_div_by_weight_floor(self, weight: bitcoin_units::weight::Weight) -> core::option::Option pub const fn bitcoin_units::Amount::checked_mul(self, rhs: u64) -> core::option::Option pub const fn bitcoin_units::Amount::checked_rem(self, rhs: u64) -> core::option::Option pub const fn bitcoin_units::Amount::checked_sub(self, rhs: bitcoin_units::Amount) -> core::option::Option @@ -688,7 +688,7 @@ pub const fn bitcoin_units::block::BlockInterval::to_u32(self) -> u32 pub const fn bitcoin_units::fee_rate::FeeRate::checked_add(self, rhs: u64) -> core::option::Option pub const fn bitcoin_units::fee_rate::FeeRate::checked_div(self, rhs: u64) -> core::option::Option pub const fn bitcoin_units::fee_rate::FeeRate::checked_mul(self, rhs: u64) -> core::option::Option -pub const fn bitcoin_units::fee_rate::FeeRate::checked_mul_by_weight(self, rhs: bitcoin_units::weight::Weight) -> core::option::Option +pub const fn bitcoin_units::fee_rate::FeeRate::checked_mul_by_weight(self, weight: bitcoin_units::weight::Weight) -> core::option::Option pub const fn bitcoin_units::fee_rate::FeeRate::checked_sub(self, rhs: u64) -> core::option::Option pub const fn bitcoin_units::fee_rate::FeeRate::from_sat_per_kvb(sat_kvb: u64) -> Self pub const fn bitcoin_units::fee_rate::FeeRate::from_sat_per_kwu(sat_kwu: u64) -> Self diff --git a/api/units/no-features.txt b/api/units/no-features.txt index 197e438eb..fa7f4538d 100644 --- a/api/units/no-features.txt +++ b/api/units/no-features.txt @@ -670,7 +670,7 @@ pub const fn bitcoin_units::block::BlockInterval::to_u32(self) -> u32 pub const fn bitcoin_units::fee_rate::FeeRate::checked_add(self, rhs: u64) -> core::option::Option pub const fn bitcoin_units::fee_rate::FeeRate::checked_div(self, rhs: u64) -> core::option::Option pub const fn bitcoin_units::fee_rate::FeeRate::checked_mul(self, rhs: u64) -> core::option::Option -pub const fn bitcoin_units::fee_rate::FeeRate::checked_mul_by_weight(self, rhs: bitcoin_units::weight::Weight) -> core::option::Option +pub const fn bitcoin_units::fee_rate::FeeRate::checked_mul_by_weight(self, weight: bitcoin_units::weight::Weight) -> core::option::Option pub const fn bitcoin_units::fee_rate::FeeRate::checked_sub(self, rhs: u64) -> core::option::Option pub const fn bitcoin_units::fee_rate::FeeRate::from_sat_per_kvb(sat_kvb: u64) -> Self pub const fn bitcoin_units::fee_rate::FeeRate::from_sat_per_kwu(sat_kwu: u64) -> Self