gioser

tawasuyu/taffy

A high performance rust-powered UI layout library

HTML 227Rust 7TOML 3CSS 1307 Definiciones

Fix warning on unused resolt

523ef1c2744a6d45c6be5dc48a9d86ea07c6719b · por Emil Sjölander · (hace 6 años) · padre d6cf7560a · 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()
         })
     });