]> 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 00b70e972cd45390aa1fc1c2571a57d7af27ec44..7202e00203ec9005a62469c71d5569030298f2cd 100644 (file)
@@ -1,4 +1,4 @@
 // Some nested mods
 
- mod   nestedmod  ;
+#[cfg(test)]  mod   nestedmod  ;
 pub  mod no_new_line_beginning;