@@ -87,11 +87,11 @@ use crate::offers::nonce::Nonce;
8787use crate :: offers:: parse:: { Bech32Encode , Bolt12ParseError , Bolt12SemanticError , ParsedMessage } ;
8888use crate :: offers:: signer:: { self , Metadata , MetadataMaterial } ;
8989use crate :: types:: features:: OfferFeatures ;
90+ use crate :: types:: string:: PrintableString ;
9091use crate :: util:: ser:: {
9192 CursorReadable , HighZeroBytesDroppedBigSize , LengthLimitedRead , LengthReadable , Readable ,
9293 WithoutLength , Writeable , Writer ,
9394} ;
94- use crate :: util:: string:: PrintableString ;
9595use bitcoin:: constants:: ChainHash ;
9696use bitcoin:: network:: Network ;
9797use bitcoin:: secp256k1:: { self , Keypair , PublicKey , Secp256k1 } ;
@@ -646,7 +646,7 @@ macro_rules! offer_accessors { ($self: ident, $contents: expr) => {
646646
647647 /// A complete description of the purpose of the payment. Intended to be displayed to the user
648648 /// but with the caveat that it has not been verified in any way.
649- pub fn description( & $self) -> Option <$crate:: util :: string:: PrintableString > {
649+ pub fn description( & $self) -> Option <$crate:: types :: string:: PrintableString > {
650650 $contents. description( )
651651 }
652652
@@ -664,7 +664,7 @@ macro_rules! offer_accessors { ($self: ident, $contents: expr) => {
664664
665665 /// The issuer of the offer, possibly beginning with `user@domain` or `domain`. Intended to be
666666 /// displayed to the user but with the caveat that it has not been verified in any way.
667- pub fn issuer( & $self) -> Option <$crate:: util :: string:: PrintableString > {
667+ pub fn issuer( & $self) -> Option <$crate:: types :: string:: PrintableString > {
668668 $contents. issuer( )
669669 }
670670
@@ -1349,8 +1349,8 @@ mod tests {
13491349 use crate :: offers:: parse:: { Bolt12ParseError , Bolt12SemanticError } ;
13501350 use crate :: offers:: test_utils:: * ;
13511351 use crate :: types:: features:: OfferFeatures ;
1352+ use crate :: types:: string:: PrintableString ;
13521353 use crate :: util:: ser:: { BigSize , Writeable } ;
1353- use crate :: util:: string:: PrintableString ;
13541354 use bitcoin:: constants:: ChainHash ;
13551355 use bitcoin:: network:: Network ;
13561356 use bitcoin:: secp256k1:: Secp256k1 ;
0 commit comments