tawasuyu

tawasuyu/taffy

A high performance rust-powered UI layout library

Rust 1311HTML 640Markdown 11TOML 63653 Definiciones

Fix warning on unused resolt

fb8e100504803cc77b594356f9c8a8413f6e9b18 · por Emil Sjölander · (hace 6 años) · padre 586edff8e · ver el árbol en este commit

Delta semántico · 1

benches/complex.rs

1 archivos · +1 −1

diff --git a/benches/complex.rs b/benches/complex.rs
index 181ba4a55..3f10495d4 100644
--- a/benches/complex.rs
+++ b/benches/complex.rs
@@ -135,7 +135,7 @@ fn stretch_benchmarks(c: &mut Criterion) {
         let root = build_deep_hierarchy(&mut stretch);
 
         b.iter(|| {
-            stretch.mark_dirty(root);
+            stretch.mark_dirty(root).unwrap();
             stretch.compute_layout(root, stretch::geometry::Size::undefined()).unwrap()
         })
     });