X-Git-Url: https://git.lizzy.rs/?a=blobdiff_plain;f=src%2Fbin%2Fcargo-fmt.rs;h=95ac1a25bb9b2563654329e54e514b891ddc7c76;hb=57466dc68799f4c28bae5e7531555334052c3d65;hp=b4a1b3d51722176891c1c5471e5249f7e8dd38f8;hpb=1de786a79a4c7eb6b0a19f02271cb056e22c492b;p=rust.git diff --git a/src/bin/cargo-fmt.rs b/src/bin/cargo-fmt.rs index b4a1b3d5172..95ac1a25bb9 100644 --- a/src/bin/cargo-fmt.rs +++ b/src/bin/cargo-fmt.rs @@ -142,14 +142,14 @@ fn get_fmt_args() -> Vec { #[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 {