1
0
mirror of https://github.com/atuinsh/atuin.git synced 2025-07-10 11:27:29 +02:00

fix(clippy): ignore struct_field_names ()

In these cases, I think that's a _little_ too pedantic.
This commit is contained in:
Ellie Huxtable
2023-12-28 20:02:11 +00:00
committed by GitHub
parent be1f6fd5ca
commit 5401ff12b7
2 changed files with 2 additions and 1 deletions
atuin/src/command/client

@ -18,7 +18,7 @@ mod history_list;
mod interactive;
pub use duration::{format_duration, format_duration_into};
#[allow(clippy::struct_excessive_bools)]
#[allow(clippy::struct_excessive_bools, clippy::struct_field_names)]
#[derive(Parser, Debug)]
pub struct Cmd {
/// Filter search result by directory

@ -41,6 +41,7 @@ const RETURN_ORIGINAL: usize = usize::MAX;
const RETURN_QUERY: usize = usize::MAX - 1;
const COPY_QUERY: usize = usize::MAX - 2;
#[allow(clippy::struct_field_names)]
struct State {
history_count: i64,
update_needed: Option<Version>,