Skip to content

Commit

Permalink
Tune up lints for 1.81 Rust
Browse files Browse the repository at this point in the history
  • Loading branch information
tyranron committed Sep 9, 2024
1 parent 04941c8 commit c6d67e5
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
1 change: 1 addition & 0 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@
html_favicon_url = "https://avatars.githubusercontent.com/u/91469139?s=256"
)]
#![forbid(non_ascii_idents, unsafe_code)]
#![warn(clippy::allow_attributes, clippy::allow_attributes_without_reason)]
#![cfg_attr(docsrs, feature(doc_cfg))]

#[cfg(feature = "parser")]
Expand Down
1 change: 0 additions & 1 deletion src/parser.rs
Original file line number Diff line number Diff line change
Expand Up @@ -530,7 +530,6 @@ pub(crate) rule feature() -> Feature
r:rules() pb:position!()
nl()*
{?
#[allow(clippy::question_mark)]
if let Err(e) = env.assert_no_error() {
Err(e)
} else {
Expand Down

0 comments on commit c6d67e5

Please sign in to comment.