Skip to content

Commit 55f3276

Browse files
committed
MAINT: Silence clippy lint about if_then_panic (style issue)
1 parent 267063b commit 55f3276

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/lib.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,8 @@
1515
clippy::manual_map, // is not an error
1616
clippy::while_let_on_iterator, // is not an error
1717
clippy::from_iter_instead_of_collect, // using from_iter is good style
18+
clippy::if_then_panic, // is not an error
19+
clippy::redundant_closure, // false positives clippy #7812
1820
)]
1921
#![doc(test(attr(deny(warnings))))]
2022
#![doc(test(attr(allow(unused_variables))))]

0 commit comments

Comments
 (0)