]> git.lizzy.rs Git - rust.git/blobdiff - tests/source/mod-2.rs
Prevent duplicate comma when formatting struct pattern with ".."
[rust.git] / tests / source / mod-2.rs
index 75b560ce93f9e7378c779cc62d251b54a7e96b48..7202e00203ec9005a62469c71d5569030298f2cd 100644 (file)
@@ -1,3 +1,4 @@
 // Some nested mods
 
-mod nestedmod;
+#[cfg(test)]  mod   nestedmod  ;
+pub  mod no_new_line_beginning;