From 7cd67786af2c504760c76713fa28c8372feaba99 Mon Sep 17 00:00:00 2001 From: "Tobin C. Harding" Date: Fri, 13 Dec 2024 09:03:21 +1100 Subject: [PATCH] api: Run just check-api --- api/units/all-features.txt | 4 +++- api/units/alloc-only.txt | 4 +++- api/units/no-features.txt | 4 +++- 3 files changed, 9 insertions(+), 3 deletions(-) diff --git a/api/units/all-features.txt b/api/units/all-features.txt index d75534c5d0..3a75bf5411 100644 --- a/api/units/all-features.txt +++ b/api/units/all-features.txt @@ -208,6 +208,7 @@ impl core::convert::TryFrom for bitcoin_units impl core::convert::TryFrom for bitcoin_units::locktime::relative::Height impl core::default::Default for bitcoin_units::Amount impl core::default::Default for bitcoin_units::SignedAmount +impl core::default::Default for bitcoin_units::block::BlockInterval impl core::default::Default for bitcoin_units::locktime::relative::Height impl core::default::Default for bitcoin_units::locktime::relative::Time impl core::error::Error for bitcoin_units::amount::error::InputTooLargeError @@ -956,6 +957,7 @@ pub fn bitcoin_units::block::BlockInterval::add(self, rhs: bitcoin_units::block: pub fn bitcoin_units::block::BlockInterval::add_assign(&mut self, rhs: bitcoin_units::block::BlockInterval) pub fn bitcoin_units::block::BlockInterval::clone(&self) -> bitcoin_units::block::BlockInterval pub fn bitcoin_units::block::BlockInterval::cmp(&self, other: &bitcoin_units::block::BlockInterval) -> core::cmp::Ordering +pub fn bitcoin_units::block::BlockInterval::default() -> bitcoin_units::block::BlockInterval pub fn bitcoin_units::block::BlockInterval::deserialize<__D>(__deserializer: __D) -> core::result::Result::Error> where __D: serde::de::Deserializer<'de> pub fn bitcoin_units::block::BlockInterval::eq(&self, other: &bitcoin_units::block::BlockInterval) -> bool pub fn bitcoin_units::block::BlockInterval::fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result @@ -1191,7 +1193,7 @@ pub struct bitcoin_units::locktime::relative::TimeOverflowError pub struct bitcoin_units::parse::PrefixedHexError(_) pub struct bitcoin_units::parse::UnprefixedHexError(_) pub struct bitcoin_units::weight::Weight(_) -pub trait bitcoin_units::amount::CheckedSum: private::SumSeal +pub trait bitcoin_units::amount::CheckedSum: sealed::Sealed pub trait bitcoin_units::amount::serde::SerdeAmount: core::marker::Copy + core::marker::Sized pub trait bitcoin_units::amount::serde::SerdeAmountForOpt: core::marker::Copy + core::marker::Sized + bitcoin_units::amount::serde::SerdeAmount pub trait bitcoin_units::parse::Integer: core::str::traits::FromStr + core::convert::TryFrom + core::marker::Sized diff --git a/api/units/alloc-only.txt b/api/units/alloc-only.txt index 21cc554a19..40c94ed652 100644 --- a/api/units/alloc-only.txt +++ b/api/units/alloc-only.txt @@ -204,6 +204,7 @@ impl core::convert::TryFrom for bitcoin_units impl core::convert::TryFrom for bitcoin_units::locktime::relative::Height impl core::default::Default for bitcoin_units::Amount impl core::default::Default for bitcoin_units::SignedAmount +impl core::default::Default for bitcoin_units::block::BlockInterval impl core::default::Default for bitcoin_units::locktime::relative::Height impl core::default::Default for bitcoin_units::locktime::relative::Time impl core::fmt::Debug for bitcoin_units::Amount @@ -863,6 +864,7 @@ pub fn bitcoin_units::block::BlockInterval::add(self, rhs: bitcoin_units::block: pub fn bitcoin_units::block::BlockInterval::add_assign(&mut self, rhs: bitcoin_units::block::BlockInterval) pub fn bitcoin_units::block::BlockInterval::clone(&self) -> bitcoin_units::block::BlockInterval pub fn bitcoin_units::block::BlockInterval::cmp(&self, other: &bitcoin_units::block::BlockInterval) -> core::cmp::Ordering +pub fn bitcoin_units::block::BlockInterval::default() -> bitcoin_units::block::BlockInterval pub fn bitcoin_units::block::BlockInterval::eq(&self, other: &bitcoin_units::block::BlockInterval) -> bool pub fn bitcoin_units::block::BlockInterval::fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result pub fn bitcoin_units::block::BlockInterval::from(h: bitcoin_units::locktime::relative::Height) -> Self @@ -1069,7 +1071,7 @@ pub struct bitcoin_units::locktime::relative::TimeOverflowError pub struct bitcoin_units::parse::PrefixedHexError(_) pub struct bitcoin_units::parse::UnprefixedHexError(_) pub struct bitcoin_units::weight::Weight(_) -pub trait bitcoin_units::amount::CheckedSum: private::SumSeal +pub trait bitcoin_units::amount::CheckedSum: sealed::Sealed pub trait bitcoin_units::parse::Integer: core::str::traits::FromStr + core::convert::TryFrom + core::marker::Sized pub type &bitcoin_units::fee_rate::FeeRate::Output = bitcoin_units::fee_rate::FeeRate pub type bitcoin_units::Amount::Err = bitcoin_units::amount::error::ParseError diff --git a/api/units/no-features.txt b/api/units/no-features.txt index 638a07add3..45973c74e1 100644 --- a/api/units/no-features.txt +++ b/api/units/no-features.txt @@ -188,6 +188,7 @@ impl core::convert::TryFrom for bitcoin_units impl core::convert::TryFrom for bitcoin_units::locktime::relative::Height impl core::default::Default for bitcoin_units::Amount impl core::default::Default for bitcoin_units::SignedAmount +impl core::default::Default for bitcoin_units::block::BlockInterval impl core::default::Default for bitcoin_units::locktime::relative::Height impl core::default::Default for bitcoin_units::locktime::relative::Time impl core::fmt::Debug for bitcoin_units::Amount @@ -831,6 +832,7 @@ pub fn bitcoin_units::block::BlockInterval::add(self, rhs: bitcoin_units::block: pub fn bitcoin_units::block::BlockInterval::add_assign(&mut self, rhs: bitcoin_units::block::BlockInterval) pub fn bitcoin_units::block::BlockInterval::clone(&self) -> bitcoin_units::block::BlockInterval pub fn bitcoin_units::block::BlockInterval::cmp(&self, other: &bitcoin_units::block::BlockInterval) -> core::cmp::Ordering +pub fn bitcoin_units::block::BlockInterval::default() -> bitcoin_units::block::BlockInterval pub fn bitcoin_units::block::BlockInterval::eq(&self, other: &bitcoin_units::block::BlockInterval) -> bool pub fn bitcoin_units::block::BlockInterval::fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result pub fn bitcoin_units::block::BlockInterval::from(h: bitcoin_units::locktime::relative::Height) -> Self @@ -1023,7 +1025,7 @@ pub struct bitcoin_units::locktime::relative::TimeOverflowError pub struct bitcoin_units::parse::PrefixedHexError(_) pub struct bitcoin_units::parse::UnprefixedHexError(_) pub struct bitcoin_units::weight::Weight(_) -pub trait bitcoin_units::amount::CheckedSum: private::SumSeal +pub trait bitcoin_units::amount::CheckedSum: sealed::Sealed pub trait bitcoin_units::parse::Integer: core::str::traits::FromStr + core::convert::TryFrom + core::marker::Sized pub type &bitcoin_units::fee_rate::FeeRate::Output = bitcoin_units::fee_rate::FeeRate pub type bitcoin_units::Amount::Err = bitcoin_units::amount::error::ParseError