File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -22,10 +22,10 @@ pub fn is_unit(v: &syn::Variant) -> bool {
2222#[ cfg( feature = "debug-with-rustfmt" ) ]
2323/// Pretty-print the output of proc macro using rustfmt.
2424pub fn debug_with_rustfmt ( input : & TokenStream ) {
25- use std:: io:: Write ;
26- use std:: process:: { Command , Stdio } ;
2725 use std:: env;
2826 use std:: ffi:: OsStr ;
27+ use std:: io:: Write ;
28+ use std:: process:: { Command , Stdio } ;
2929
3030 let rustfmt_var = env:: var_os ( "RUSTFMT" ) ;
3131 let rustfmt = match & rustfmt_var {
Original file line number Diff line number Diff line change 11// Integration tests for cargo-fmt.
22
33use std:: env;
4- use std:: process:: Command ;
54use std:: path:: Path ;
5+ use std:: process:: Command ;
66
77/// Run the cargo-fmt executable and return its output.
88fn cargo_fmt ( args : & [ & str ] ) -> ( String , String ) {
You can’t perform that action at this time.
0 commit comments