File tree Expand file tree Collapse file tree 4 files changed +4
-5
lines changed
mina-p2p-messages/examples Expand file tree Collapse file tree 4 files changed +4
-5
lines changed Original file line number Diff line number Diff line change @@ -1330,7 +1330,7 @@ impl StagedLedger {
13301330 // There's enough work. Check if they satisfy other constraints
13311331 if resources. budget_sufficient ( ) {
13321332 if resources. space_constraint_satisfied ( ) {
1333- return ;
1333+ // Done
13341334 } else if resources. worked_more ( constraint_constants) {
13351335 // There are too many fee_transfers(from the proofs)
13361336 // occupying the slots. discard one and check
Original file line number Diff line number Diff line change @@ -385,8 +385,7 @@ impl VkRefcountTable {
385385 return Vec :: new ( ) ;
386386 } ;
387387
388- vks. iter ( )
389- . map ( |( f, _) | self . find_vk ( f) . expect ( "malformed Vk_refcount_table.t" ) )
388+ vks. keys ( ) . map ( |f| self . find_vk ( f) . expect ( "malformed Vk_refcount_table.t" ) )
390389 . map ( |( _, vk) | vk)
391390 . collect ( )
392391 }
Original file line number Diff line number Diff line change @@ -181,7 +181,7 @@ impl FileFormat {
181181 Ok ( ( ) )
182182 }
183183}
184- type Handler = Box < ( dyn Fn ( & Cli , & Option < PathBuf > ) -> Result < ( ) > ) > ;
184+ type Handler = Box < dyn Fn ( & Cli , & Option < PathBuf > ) -> Result < ( ) > > ;
185185
186186struct Formatter {
187187 in_type : & ' static str ,
Original file line number Diff line number Diff line change @@ -186,7 +186,7 @@ async fn mutual_rust_to_rust_many() -> anyhow::Result<()> {
186186 let node_to_node = nodes. into_iter ( ) . flat_map ( |node| {
187187 nodes
188188 . into_iter ( )
189- . filter ( move |other_node| ( & node != other_node) )
189+ . filter ( move |other_node| & node != other_node)
190190 . map ( move |other_node| ( node, other_node) )
191191 } ) ;
192192
You can’t perform that action at this time.
0 commit comments