diff options
author | Wojciech Kępka | 2021-06-13 09:00:13 +0000 |
---|---|---|
committer | Blaž Hrastnik | 2021-06-13 11:48:18 +0000 |
commit | d8b5d1181f3d735023508369d519e707eb7464a1 (patch) | |
tree | 2d0e49d516093fa95dbe967b5600dc61a1ea191a /helix-term/src/commands.rs | |
parent | b500a2a138d315dcf98935563b8ea4a7e9b2fe5d (diff) |
Add `Copy` derive to `PromptEvent`
Diffstat (limited to 'helix-term/src/commands.rs')
-rw-r--r-- | helix-term/src/commands.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/helix-term/src/commands.rs b/helix-term/src/commands.rs index 3f649572..1f0b751d 100644 --- a/helix-term/src/commands.rs +++ b/helix-term/src/commands.rs @@ -1024,12 +1024,12 @@ mod cmd { } fn write_quit(editor: &mut Editor, args: &[&str], event: PromptEvent) { - write(editor, args, event.clone()); + write(editor, args, event); quit(editor, &[], event); } fn force_write_quit(editor: &mut Editor, args: &[&str], event: PromptEvent) { - write(editor, args, event.clone()); + write(editor, args, event); force_quit(editor, &[], event); } |