]> git.lizzy.rs Git - rust.git/blobdiff - tests/ui/if_not_else.rs
Auto merge of #6298 - JohnTitor:fix-example, r=llogiq
[rust.git] / tests / ui / if_not_else.rs
index bb16e16700b66734589d9ca89dcfd376eb5eaada..dc3fb1ceac9a44ba1dd69d063040b49f9feff534 100644 (file)
@@ -1,9 +1,9 @@
-#![feature(tool_lints)]
-
 #![warn(clippy::all)]
 #![warn(clippy::if_not_else)]
 
-fn bla() -> bool { unimplemented!() }
+fn bla() -> bool {
+    unimplemented!()
+}
 
 fn main() {
     if !bla() {