We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents bef0503 + eba8c9b commit 57ad667Copy full SHA for 57ad667
1 file changed
meld-core/src/lib.rs
@@ -772,7 +772,7 @@ impl Fuser {
772
serde_json::json!(stats.imports_resolved),
773
);
774
let size_reduction = if stats.input_size > 0 {
775
- ((stats.input_size - stats.output_size) as f64 / stats.input_size as f64) * 100.0
+ ((stats.input_size as f64 - stats.output_size as f64) / stats.input_size as f64) * 100.0
776
} else {
777
0.0
778
};
0 commit comments