From 446ffb88c7b67d61d41be084fa724f84fa055e22 Mon Sep 17 00:00:00 2001 From: Jannik <32144358+mozzieongit@users.noreply.github.com> Date: Fri, 24 Sep 2021 18:03:37 +0200 Subject: Resolve clippy warnings (#187) * refactor: nest or patterns * refactor: fix clippy lint names * refactor: remove unnecessary wraps * style: apply cargo fmt --- src/command/history.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/command/history.rs') diff --git a/src/command/history.rs b/src/command/history.rs index 9c792cf0..4606b304 100644 --- a/src/command/history.rs +++ b/src/command/history.rs @@ -60,7 +60,7 @@ pub enum Cmd { }, } -#[allow(clippy::clippy::cast_sign_loss)] +#[allow(clippy::cast_sign_loss)] pub fn print_list(h: &[History], human: bool, cmd_only: bool) { let mut writer = TabWriter::new(std::io::stdout()).padding(2); -- cgit v1.3.1