@@ -45,7 +45,7 @@ impl SignedTreeHead {
4545 } )
4646 }
4747
48- #[ allow ( unused_must_use) ]
48+ #[ expect ( unused_must_use) ]
4949 pub fn to_ascii ( & self ) -> String {
5050 let mut ascii = String :: new ( ) ;
5151 writeln ! ( ascii, "{SIZE_FIELD}={}" , self . size) ;
@@ -77,7 +77,7 @@ impl InclusionProof {
7777 } )
7878 }
7979
80- #[ allow ( unused_must_use) ]
80+ #[ expect ( unused_must_use) ]
8181 pub fn to_ascii ( & self ) -> String {
8282 let mut ascii = String :: new ( ) ;
8383 writeln ! ( ascii, "{LEAF_INDEX_FIELD}={}" , self . leaf_index) ;
@@ -101,7 +101,7 @@ impl Protoleaf {
101101 } )
102102 }
103103
104- #[ allow ( unused_must_use) ]
104+ #[ expect ( unused_must_use) ]
105105 pub fn to_ascii ( & self ) -> String {
106106 let mut ascii = String :: new ( ) ;
107107 writeln ! ( ascii, "{MESSAGE_FIELD}={:x}" , self . message) ;
@@ -143,7 +143,7 @@ impl SigsumSignature {
143143 } )
144144 }
145145
146- #[ allow ( unused_must_use) ]
146+ #[ expect ( unused_must_use) ]
147147 pub fn to_ascii ( & self ) -> String {
148148 let mut ascii = String :: new ( ) ;
149149 writeln ! ( ascii, "{VERSION_FIELD}=2" ) ;
0 commit comments