Skip to content

Commit c6d67e5

Browse files
committed
Tune up lints for 1.81 Rust
1 parent 04941c8 commit c6d67e5

File tree

2 files changed

+1
-1
lines changed

2 files changed

+1
-1
lines changed

Diff for: src/lib.rs

+1
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@
3838
html_favicon_url = "https://avatars.githubusercontent.com/u/91469139?s=256"
3939
)]
4040
#![forbid(non_ascii_idents, unsafe_code)]
41+
#![warn(clippy::allow_attributes, clippy::allow_attributes_without_reason)]
4142
#![cfg_attr(docsrs, feature(doc_cfg))]
4243

4344
#[cfg(feature = "parser")]

Diff for: src/parser.rs

-1
Original file line numberDiff line numberDiff line change
@@ -530,7 +530,6 @@ pub(crate) rule feature() -> Feature
530530
r:rules() pb:position!()
531531
nl()*
532532
{?
533-
#[allow(clippy::question_mark)]
534533
if let Err(e) = env.assert_no_error() {
535534
Err(e)
536535
} else {

0 commit comments

Comments
 (0)