]> git.lizzy.rs Git - rust.git/blobdiff - tests/ui/double_neg.rs
map_unit_fn: rename tests to fixable
[rust.git] / tests / ui / double_neg.rs
index 641e334fd1657ba5ad2d66c3d0ae4a0b072a383e..d47dfcb5ba1eab1b8654a2c270700748923a4bee 100644 (file)
@@ -1,7 +1,4 @@
-
-
-
-#[warn(double_neg)]
+#[warn(clippy::double_neg)]
 fn main() {
     let x = 1;
     -x;