Fix warning

This commit is contained in:
Antonio Scandurra committed 2024-01-12 18:06:18 +01:00
1 parent c44c5809ac
commit abc3376bee
1 file changed
+1 -1
+1 -1
View File
@@ -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()
}