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 {
22
22
#[ cfg( feature = "debug-with-rustfmt" ) ]
23
23
/// Pretty-print the output of proc macro using rustfmt.
24
24
pub fn debug_with_rustfmt ( input : & TokenStream ) {
25
- use std:: io:: Write ;
26
- use std:: process:: { Command , Stdio } ;
27
25
use std:: env;
28
26
use std:: ffi:: OsStr ;
27
+ use std:: io:: Write ;
28
+ use std:: process:: { Command , Stdio } ;
29
29
30
30
let rustfmt_var = env:: var_os ( "RUSTFMT" ) ;
31
31
let rustfmt = match & rustfmt_var {
Original file line number Diff line number Diff line change 1
1
// Integration tests for cargo-fmt.
2
2
3
3
use std:: env;
4
- use std:: process:: Command ;
5
4
use std:: path:: Path ;
5
+ use std:: process:: Command ;
6
6
7
7
/// Run the cargo-fmt executable and return its output.
8
8
fn cargo_fmt ( args : & [ & str ] ) -> ( String , String ) {
You can’t perform that action at this time.
0 commit comments