Skip to content

Commit

Permalink
Ignore needless question marks in other tests
Browse files Browse the repository at this point in the history
  • Loading branch information
bengsparks committed Dec 27, 2020
1 parent 244c9c8 commit ad01a29
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions tests/ui/try_err.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@

#![deny(clippy::try_err)]
#![allow(clippy::unnecessary_wraps)]
#![allow(clippy::needless-question-mark)]

#[macro_use]
extern crate macro_rules;
Expand Down
3 changes: 2 additions & 1 deletion tests/ui/unit_arg.rs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@
unused_variables,
clippy::unused_unit,
clippy::unnecessary_wraps,
clippy::or_fun_call
clippy::or_fun_call,
clippy::needless_question_mark
)]

use std::fmt::Debug;
Expand Down

0 comments on commit ad01a29

Please sign in to comment.