From a2dc91357a164da179bd683e38f8f1d6aa29066b Mon Sep 17 00:00:00 2001 From: Peter Hebden Date: Sun, 16 Jul 2023 21:39:09 +0100 Subject: [PATCH] style: clippy --- src/status.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/status.rs b/src/status.rs index 85da02c..153b8fb 100644 --- a/src/status.rs +++ b/src/status.rs @@ -610,7 +610,7 @@ impl Status { return Ok(()); } - let mut file = self + let file = self .file_diffs .get_mut(self.cursor) .context("cursor is at invalid position")?;