File tree Expand file tree Collapse file tree 3 files changed +6
-2
lines changed
Expand file tree Collapse file tree 3 files changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -53,6 +53,10 @@ serde_json = "1.0"
5353sha3 = " ^0.10.8"
5454thiserror = " 2.0"
5555
56+ [lints .rust ]
57+ edition-2024-expr-fragment-specifier = " allow" # accept the new `expr` fragment specifier rules
58+ rust-2024-compatibility = " warn"
59+
5660[[bench ]]
5761name = " tip5"
5862harness = false
Original file line number Diff line number Diff line change @@ -122,7 +122,7 @@ mod test {
122122 points : Vec < BFieldElement > ,
123123 ) {
124124 let zerofier_tree = ZerofierTree :: new_from_domain ( & points) ;
125- let ZerofierTree :: Branch ( ref branch) = & zerofier_tree else {
125+ let ZerofierTree :: Branch ( ref branch) = zerofier_tree else {
126126 panic ! ( "not enough leafs" ) ;
127127 } ;
128128 prop_assert_eq ! (
Original file line number Diff line number Diff line change @@ -187,7 +187,7 @@ impl MerkleTree {
187187 fn authentication_structure_node_indices (
188188 num_leafs : usize ,
189189 leaf_indices : & [ usize ] ,
190- ) -> Result < impl ExactSizeIterator < Item = usize > > {
190+ ) -> Result < impl ExactSizeIterator < Item = usize > + use < > > {
191191 // The set of indices of nodes that need to be included in the authentications
192192 // structure. In principle, every node of every authentication path is needed.
193193 // The root is never needed. Hence, it is not considered below.
You can’t perform that action at this time.
0 commit comments