deps: cargo update (#474)

* deps: cargo update

* deps: Update edition 2024

and run cargo update
This commit is contained in:
andy.boot
2025-03-11 00:38:38 +00:00
committed by GitHub
parent b219981c52
commit dd799706fb
9 changed files with 76 additions and 74 deletions
+1 -5
View File
@@ -71,11 +71,7 @@ impl DisplayData {
fn percent_size(&self, node: &DisplayNode) -> f32 {
let result = node.size as f32 / self.base_size as f32;
if result.is_normal() {
result
} else {
0.0
}
if result.is_normal() { result } else { 0.0 }
}
}