Fix warning
This commit is contained in:
parent
817b641c17
commit
f4a7f6f4c3
1 changed files with 1 additions and 1 deletions
|
@ -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()
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue