Update lib template for `cargo new` so that it conforms to rustfmt style by default
authorGeorge Burton <burtonageo@gmail.com>
Thu, 10 Aug 2017 20:50:41 +0000 (21:50 +0100)
committerGeorge Burton <burtonageo@gmail.com>
Thu, 10 Aug 2017 20:50:41 +0000 (21:50 +0100)
src/cargo/ops/cargo_new.rs

index eddcd433c2546a89912cae08f59c5185fb87c2ff..75586486b52abf4005dfd4abe07a94354ee55355 100644 (file)
@@ -507,8 +507,7 @@ fn main() {
 #[cfg(test)]
 mod tests {
     #[test]
-    fn it_works() {
-    }
+    fn it_works() {}
 }
 "
         };