fix(clippy): ignore struct_field_names (#1466)

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
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 1 deletions

View File

@ -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

View File

@ -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>,