Skip to content

Commit 8004cfb

Browse files
committed
Suppress a warning from the latest clippy
1 parent 50b4865 commit 8004cfb

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

src/lib.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
#![deny(missing_copy_implementations)]
1313
#![deny(missing_debug_implementations)]
1414
#![warn(missing_docs)]
15+
#![allow(clippy::if_then_panic)] // Too pedantic
1516

1617
// Re-exported external crates
1718
pub use libc;

test/test.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
#![allow(clippy::if_then_panic)] // Too pedantic
2+
13
#[macro_use]
24
extern crate cfg_if;
35
#[cfg_attr(not(target_os = "redox"), macro_use)]

0 commit comments

Comments
 (0)