]> git.lizzy.rs Git - rust.git/blobdiff - src/bin/cargo-fmt.rs
Format source codes
[rust.git] / src / bin / cargo-fmt.rs
index b4a1b3d51722176891c1c5471e5249f7e8dd38f8..95ac1a25bb9b2563654329e54e514b891ddc7c76 100644 (file)
@@ -142,14 +142,14 @@ fn get_fmt_args() -> Vec<String> {
 
 #[derive(Debug)]
 enum TargetKind {
-    Lib, // dylib, staticlib, lib
-    Bin, // bin
-    Example, // example file
-    Test, // test file
-    Bench, // bench file
+    Lib,         // dylib, staticlib, lib
+    Bin,         // bin
+    Example,     // example file
+    Test,        // test file
+    Bench,       // bench file
     CustomBuild, // build script
-    ProcMacro, // a proc macro implementation
-    Other, // plugin,...
+    ProcMacro,   // a proc macro implementation
+    Other,       // plugin,...
 }
 
 impl TargetKind {