aboutsummaryrefslogtreecommitdiff
path: root/helix-term/src/ui/editor.rs
diff options
context:
space:
mode:
authorBlaž Hrastnik2021-12-03 03:48:07 +0000
committerBlaž Hrastnik2021-12-03 03:48:07 +0000
commit34f46e7502a562ffb1a3f681046c6cb7e86f7286 (patch)
treef6697c3cdfe5c5899180c8c93f39cea0dff03ddb /helix-term/src/ui/editor.rs
parentd31bef7fea1aa0cc9455cf082825ccff9614ed5e (diff)
Bump rust to 1.57, fix new lint failures
Diffstat (limited to 'helix-term/src/ui/editor.rs')
-rw-r--r--helix-term/src/ui/editor.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/helix-term/src/ui/editor.rs b/helix-term/src/ui/editor.rs
index e1a6d178..a7f63f31 100644
--- a/helix-term/src/ui/editor.rs
+++ b/helix-term/src/ui/editor.rs
@@ -922,7 +922,7 @@ impl EditorView {
impl Component for EditorView {
fn handle_event(&mut self, event: Event, cx: &mut Context) -> EventResult {
let mut cxt = commands::Context {
- editor: &mut cx.editor,
+ editor: cx.editor,
count: None,
register: None,
callback: None,