From 5f7885749c4d7e48869b1fc0be4d430601cdbbfa Mon Sep 17 00:00:00 2001 From: Aaron Hill Date: Wed, 27 Sep 2017 20:29:44 -0400 Subject: Use clippy = "*", update, and fix some warnings (#796) Because there are so many clippy warnings in the current codebase, this commit removes '#![cfg_attr(feature = "clippy", deny(clippy))]', to make it easier to fix warnings incrementally. --- src/term/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/term') diff --git a/src/term/mod.rs b/src/term/mod.rs index 027feaf1..8dcfa365 100644 --- a/src/term/mod.rs +++ b/src/term/mod.rs @@ -1566,7 +1566,7 @@ impl ansi::Handler for Term { #[inline] fn save_cursor_position(&mut self) { trace!("CursorSave"); - let mut cursor = if self.alt { + let cursor = if self.alt { &mut self.cursor_save_alt } else { &mut self.cursor_save -- cgit