Skip to content

Commit

Permalink
Fix clippy error
Browse files Browse the repository at this point in the history
  • Loading branch information
sorairolake committed May 4, 2024
1 parent 0f7d81e commit 12d5a20
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/cli.rs
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ const LONG_VERSION: &str = concat!(

const AFTER_LONG_HELP: &str = "See `favico(1)` for more details.";

#[allow(clippy::struct_excessive_bools)]
#[allow(clippy::doc_markdown, clippy::struct_excessive_bools)]
#[derive(Debug, Parser)]
#[command(
version,
Expand Down Expand Up @@ -123,6 +123,7 @@ impl Opt {
}
}

#[allow(clippy::doc_markdown)]
#[derive(Clone, Debug, ValueEnum)]
#[value(rename_all = "lower")]
pub enum Shell {
Expand Down Expand Up @@ -202,6 +203,7 @@ impl From<Filter> for FilterType {
}
}

#[allow(clippy::doc_markdown)]
#[derive(Clone, Debug, ValueEnum)]
#[value(rename_all = "lower")]
pub enum Format {
Expand Down

0 comments on commit 12d5a20

Please sign in to comment.