mirror of
https://github.com/atuinsh/atuin.git
synced 2025-03-14 23:19:10 +01:00
fix(clippy): ignore struct_field_names (#1466)
In these cases, I think that's a _little_ too pedantic.
This commit is contained in:
parent
be1f6fd5ca
commit
5401ff12b7
@ -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>,
|
||||
|
Loading…
Reference in New Issue
Block a user