]> git.lizzy.rs Git - rust.git/blobdiff - tests/ui/module_inception.rs
Auto merge of #3603 - xfix:random-state-lint, r=phansch
[rust.git] / tests / ui / module_inception.rs
index 333a8efec32b1e4db140258a5effeb9bcd239147..730055931c4a618fd37ad716dacdd58eb2e7c79b 100644 (file)
@@ -7,9 +7,6 @@
 // option. This file may not be copied, modified, or distributed
 // except according to those terms.
 
-
-
-
 #![warn(clippy::module_inception)]
 
 mod foo {
@@ -24,11 +21,10 @@ mod bar {}
     }
 }
 
-// No warning. See <https://github.com/rust-lang-nursery/rust-clippy/issues/1220>.
+// No warning. See <https://github.com/rust-lang/rust-clippy/issues/1220>.
 mod bar {
     #[allow(clippy::module_inception)]
-    mod bar {
-    }
+    mod bar {}
 }
 
 fn main() {}