We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents ec7da63 + 4a88460 commit 8c10293Copy full SHA for 8c10293
ctest-test/Cargo.toml
@@ -37,6 +37,3 @@ test = false
37
unused_qualifications = "allow"
38
39
[lints.clippy]
40
-# FIXME(clippy): fix these
41
-match_like_matches_macro = "allow"
42
-eq_op = "allow"
ctest-test/build.rs
@@ -103,8 +103,5 @@ fn t1_volatile(i: ctest::VolatileItemKind) -> bool {
103
}
104
105
fn t1_arrays(n: &str, i: usize) -> bool {
106
- match n {
107
- "T1r" | "T1s" | "T1t" | "T1v" if i == 0 => true,
108
- _ => false,
109
- }
+ i == 0 && matches!(n, "T1r" | "T1s" | "T1t" | "T1v")
110
ctest-test/src/lib.rs
@@ -1,2 +1,5 @@
1
+// src/** is mostly dummy files
2
+#![allow(clippy::style, clippy::correctness)]
3
+
4
pub mod t1;
5
pub mod t2;
0 commit comments