diff options
| author | Ellie Huxtable <ellie@elliehuxtable.com> | 2023-12-28 20:02:11 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-12-28 20:02:11 +0000 |
| commit | 5401ff12b720d58fbf0b22e197c546e7730e18b6 (patch) | |
| tree | e2581d8991996c43db7edce28f647f109001c5e5 | |
| parent | fix(bash): fix loss of the last output line with enter_accept (#1463) (diff) | |
| download | atuin-5401ff12b720d58fbf0b22e197c546e7730e18b6.zip | |
fix(clippy): ignore struct_field_names (#1466)
In these cases, I think that's a _little_ too pedantic.
Diffstat (limited to '')
| -rw-r--r-- | atuin/src/command/client/search.rs | 2 | ||||
| -rw-r--r-- | atuin/src/command/client/search/interactive.rs | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/atuin/src/command/client/search.rs b/atuin/src/command/client/search.rs index eedf4f8b..b9904def 100644 --- a/atuin/src/command/client/search.rs +++ b/atuin/src/command/client/search.rs @@ -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 diff --git a/atuin/src/command/client/search/interactive.rs b/atuin/src/command/client/search/interactive.rs index 3373d51b..8ae03752 100644 --- a/atuin/src/command/client/search/interactive.rs +++ b/atuin/src/command/client/search/interactive.rs @@ -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>, |
