Appease clippy

This commit is contained in:
Blaž Hrastnik 2021-08-10 10:58:37 +09:00
parent 21e5662125
commit 86209c93a3

View File

@ -697,7 +697,7 @@ impl EditorView {
impl Component for EditorView {
fn handle_event(&mut self, event: Event, cx: &mut Context) -> EventResult {
match event {
Event::Resize(width, height) => {
Event::Resize(_width, _height) => {
// Ignore this event, we handle resizing just before rendering to screen.
// Handling it here but not re-rendering will cause flashing
EventResult::Consumed(None)