Skip to content

Commit d2e998e

Browse files
committed
6.0: remove deny clippy::expect_unused, allow expect in tests
1 parent 005a297 commit d2e998e

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

clippy.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
1+
allow-expect-in-tests = true
12
allow-unwrap-in-tests = true

webauthn-authenticator-rs/src/lib.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,8 @@
9191
#![deny(clippy::todo)]
9292
#![deny(clippy::unimplemented)]
9393
#![deny(clippy::unwrap_used)]
94-
#![deny(clippy::expect_used)]
94+
// TODO: remove expect() calls from examples, cable, mozilla, softtoken, ui-cli, win10
95+
// #![deny(clippy::expect_used)]
9596
#![deny(clippy::panic)]
9697
#![deny(clippy::unreachable)]
9798
#![deny(clippy::await_holding_lock)]

0 commit comments

Comments
 (0)