From 5b25abace5c1321bab8c30f7c6cb32399ac442d3 Mon Sep 17 00:00:00 2001 From: Stephan Dilly Date: Sun, 10 May 2020 10:10:15 +0200 Subject: [PATCH] fix clippy warning --- src/components/diff.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/components/diff.rs b/src/components/diff.rs index 584baf0b..0949cc9f 100644 --- a/src/components/diff.rs +++ b/src/components/diff.rs @@ -24,6 +24,7 @@ struct Current { hash: u64, } +#[derive(Copy, Clone)] enum ScrollType { Up, Down,