diff options
| author | Jannik <32144358+mozzieongit@users.noreply.github.com> | 2021-09-24 18:03:37 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-09-24 16:03:37 +0000 |
| commit | 446ffb88c7b67d61d41be084fa724f84fa055e22 (patch) | |
| tree | 244f8a7c0ac262e93c83c2e540e90ba0e02da711 /src/command/history.rs | |
| parent | Reordered fuzzy search (#179) (diff) | |
| download | atuin-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 'src/command/history.rs')
| -rw-r--r-- | src/command/history.rs | 2 |
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); |
