Skip to content

Commit

Permalink
Allow let_underscore_untyped lint (#10)
Browse files Browse the repository at this point in the history
This is far better than adding a pointless type annotation like
`Result<_, _>`, and note the `#[must_use]` recommendation is adding
`let _ =`.

This is a case where I just do not agree with `clippy::pedantic`.
  • Loading branch information
parasyte authored Apr 21, 2023
1 parent e2d450e commit 2271d47
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,7 @@
#![forbid(unsafe_code)]
#![deny(clippy::all)]
#![deny(clippy::pedantic)]
#![allow(clippy::let_underscore_untyped)]

use crate::parser::{Error, ErrorSource, VariantType};
use myn::utils::spanned_error;
Expand Down

0 comments on commit 2271d47

Please sign in to comment.