rustfmt dislikes tabs and some newlines

This commit is contained in:
Oliver Schneider 2015-05-04 10:09:41 +02:00
parent b546dfcf83
commit 07637aed41

View File

@ -9,7 +9,6 @@
// except according to those terms.
#![feature(std_misc)]
extern crate rustfmt;
use std::collections::HashMap;
@ -79,7 +78,7 @@ pub fn idempotent_check(filename: String) -> Result<(), HashMap<String, String>>
use std::thread;
use std::fs;
use std::io::Read;
let args = vec!["rustfmt".to_owned(), filename];
let args = vec!["rustfmt".to_owned(), filename];
thread::spawn(move || {
run(args, WriteMode::Return(HANDLE_RESULT));
}).join().map_err(|mut any|