File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -456,7 +456,7 @@ impl NodeStore<Committed, FileBacked> {
456456
457457 // Decrement gauge for writes that have actually completed
458458 if completed_writes > 0 {
459- #[ expect( clippy:: cast_possible_truncation) ]
459+ #[ expect( clippy:: cast_possible_truncation, clippy :: cast_precision_loss ) ]
460460 gauge ! ( "firewood.nodes.unwritten" ) . decrement ( completed_writes as f64 ) ;
461461 }
462462 }
@@ -479,7 +479,7 @@ impl NodeStore<Committed, FileBacked> {
479479
480480 // Decrement gauge for final batch of writes that completed
481481 if final_completed_writes > 0 {
482- #[ expect( clippy:: cast_possible_truncation) ]
482+ #[ expect( clippy:: cast_possible_truncation, clippy :: cast_possible_truncation ) ]
483483 gauge ! ( "firewood.nodes.unwritten" ) . decrement ( final_completed_writes as f64 ) ;
484484 }
485485
You can’t perform that action at this time.
0 commit comments