Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.
Fix warning
Antonio Scandurraf4a7f6f4c3cf
diff --git a/crates/editor/src/element.rs b/crates/editor/src/element.rsindex a2f1b0c09dd..f5c016a7c78 100644--- a/crates/editor/src/element.rs+++ b/crates/editor/src/element.rs@@ -3595,7 +3595,7 @@ mod tests {// Don't panic.let bounds = Bounds::<Pixels>::new(Default::default(), size);- cx.update_window(window.into(), |view, cx| element.paint(bounds, &mut (), cx))+ cx.update_window(window.into(), |_, cx| element.paint(bounds, &mut (), cx)).unwrap()}