mirror of
https://github.com/helix-editor/helix.git
synced 2025-01-19 21:47:07 +04:00
Appease clippy
This commit is contained in:
parent
21e5662125
commit
86209c93a3
@ -697,7 +697,7 @@ pub fn set_completion(
|
|||||||
impl Component for EditorView {
|
impl Component for EditorView {
|
||||||
fn handle_event(&mut self, event: Event, cx: &mut Context) -> EventResult {
|
fn handle_event(&mut self, event: Event, cx: &mut Context) -> EventResult {
|
||||||
match event {
|
match event {
|
||||||
Event::Resize(width, height) => {
|
Event::Resize(_width, _height) => {
|
||||||
// Ignore this event, we handle resizing just before rendering to screen.
|
// Ignore this event, we handle resizing just before rendering to screen.
|
||||||
// Handling it here but not re-rendering will cause flashing
|
// Handling it here but not re-rendering will cause flashing
|
||||||
EventResult::Consumed(None)
|
EventResult::Consumed(None)
|
||||||
|
Loading…
Reference in New Issue
Block a user