From d8b5d1181f3d735023508369d519e707eb7464a1 Mon Sep 17 00:00:00 2001 From: Wojciech Kępka Date: Sun, 13 Jun 2021 11:00:13 +0200 Subject: Add `Copy` derive to `PromptEvent` --- helix-term/src/ui/prompt.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'helix-term/src/ui') diff --git a/helix-term/src/ui/prompt.rs b/helix-term/src/ui/prompt.rs index c6429736..1ee0399f 100644 --- a/helix-term/src/ui/prompt.rs +++ b/helix-term/src/ui/prompt.rs @@ -18,7 +18,7 @@ pub struct Prompt { pub doc_fn: Box Option<&'static str>>, } -#[derive(Clone, PartialEq)] +#[derive(Clone, Copy, PartialEq)] pub enum PromptEvent { /// The prompt input has been updated. Update, -- cgit v1.2.3-70-g09d2