@@ -13,8 +13,8 @@ use ::serde::{Deserialize, Serialize};
1313use arbitrary:: { Arbitrary , Unstructured } ;
1414
1515use super :: {
16- fmt_satoshi_in , parse_signed_to_satoshi, split_amount_and_denomination, Denomination , Display ,
17- DisplayStyle , FormatOptions , OutOfRangeError , ParseAmountError , ParseError , SignedAmount ,
16+ parse_signed_to_satoshi, split_amount_and_denomination, Denomination , Display ,
17+ DisplayStyle , OutOfRangeError , ParseAmountError , ParseError , SignedAmount ,
1818} ;
1919#[ cfg( feature = "alloc" ) ]
2020use crate :: { FeeRate , Weight } ;
@@ -178,15 +178,6 @@ impl Amount {
178178 }
179179 }
180180
181- /// Formats the value of this [`Amount`] in the given denomination.
182- ///
183- /// Does not include the denomination.
184- #[ rustfmt:: skip]
185- #[ deprecated( since = "TBD" , note = "use `display_in()` instead" ) ]
186- pub fn fmt_value_in ( self , f : & mut dyn fmt:: Write , denom : Denomination ) -> fmt:: Result {
187- fmt_satoshi_in ( self . to_sat ( ) , false , f, denom, false , FormatOptions :: default ( ) )
188- }
189-
190181 /// Returns a formatted string representing this [`Amount`] in the given denomination.
191182 ///
192183 /// Does not include the denomination.
0 commit comments