Fix warning on unused resolt
Delta semántico · 1
benches/complex.rs
- cambió por dentro fn stretch_benchmarks
1 archivos · +1 −1
- benches/complex.rs +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()
})
});