From c2c1280f02b83a468da67d88350c199915427535 Mon Sep 17 00:00:00 2001 From: Blaž Hrastnik Date: Fri, 4 Nov 2022 21:01:17 +0900 Subject: Resolve a bunch of upcoming clippy lints --- helix-core/src/history.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'helix-core/src/history.rs') diff --git a/helix-core/src/history.rs b/helix-core/src/history.rs index b608097c..5cd72b07 100644 --- a/helix-core/src/history.rs +++ b/helix-core/src/history.rs @@ -282,7 +282,7 @@ impl History { } /// Whether to undo by a number of edits or a duration of time. -#[derive(Debug, PartialEq, Clone, Copy)] +#[derive(Debug, PartialEq, Eq, Clone, Copy)] pub enum UndoKind { Steps(usize), TimePeriod(std::time::Duration), -- cgit v1.2.3-70-g09d2