Skip to content

Commit 5401ff1

Browse files
authored
fix(clippy): ignore struct_field_names (#1466)
In these cases, I think that's a _little_ too pedantic.
1 parent be1f6fd commit 5401ff1

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

atuin/src/command/client/search.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ mod history_list;
1818
mod interactive;
1919
pub use duration::{format_duration, format_duration_into};
2020

21-
#[allow(clippy::struct_excessive_bools)]
21+
#[allow(clippy::struct_excessive_bools, clippy::struct_field_names)]
2222
#[derive(Parser, Debug)]
2323
pub struct Cmd {
2424
/// Filter search result by directory

atuin/src/command/client/search/interactive.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@ const RETURN_ORIGINAL: usize = usize::MAX;
4141
const RETURN_QUERY: usize = usize::MAX - 1;
4242
const COPY_QUERY: usize = usize::MAX - 2;
4343

44+
#[allow(clippy::struct_field_names)]
4445
struct State {
4546
history_count: i64,
4647
update_needed: Option<Version>,

0 commit comments

Comments
 (0)