aboutsummaryrefslogtreecommitdiffstats
path: root/src/command/history.rs
diff options
context:
space:
mode:
authorJannik <32144358+mozzieongit@users.noreply.github.com>2021-09-24 18:03:37 +0200
committerGitHub <noreply@github.com>2021-09-24 16:03:37 +0000
commit446ffb88c7b67d61d41be084fa724f84fa055e22 (patch)
tree244f8a7c0ac262e93c83c2e540e90ba0e02da711 /src/command/history.rs
parentReordered fuzzy search (#179) (diff)
downloadatuin-446ffb88c7b67d61d41be084fa724f84fa055e22.zip
Resolve clippy warnings (#187)
* refactor: nest or patterns * refactor: fix clippy lint names * refactor: remove unnecessary wraps * style: apply cargo fmt
Diffstat (limited to '')
-rw-r--r--src/command/history.rs2
1 files changed, 1 insertions, 1 deletions
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);