allow rustfmt to reorder imports
This wasn't a right decision in the first place, the feature flag was broken in the last rustfmt release, and syntax highlighting of imports is more important anyway
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
use std::process::Command;
|
||||
|
||||
use ra_tools::{Result, run_rustfmt, run, project_root, Overwrite};
|
||||
use ra_tools::{project_root, run, run_rustfmt, Overwrite, Result};
|
||||
|
||||
fn main() -> Result<()> {
|
||||
run_rustfmt(Overwrite)?;
|
||||
|
||||
@@ -1,10 +1,10 @@
|
||||
use std::{
|
||||
fs,
|
||||
collections::HashMap,
|
||||
error::Error,
|
||||
fs,
|
||||
io::{Error as IoError, ErrorKind},
|
||||
path::{Path, PathBuf},
|
||||
process::{Command, Output, Stdio},
|
||||
io::{Error as IoError, ErrorKind},
|
||||
error::Error
|
||||
};
|
||||
|
||||
use itertools::Itertools;
|
||||
|
||||
@@ -1,10 +1,10 @@
|
||||
use clap::{App, SubCommand};
|
||||
use core::str;
|
||||
use ra_tools::{
|
||||
generate, gen_tests, install_format_hook, run, run_with_output, run_rustfmt,
|
||||
Overwrite, Result, run_fuzzer, run_clippy,
|
||||
gen_tests, generate, install_format_hook, run, run_clippy, run_fuzzer, run_rustfmt,
|
||||
run_with_output, Overwrite, Result,
|
||||
};
|
||||
use std::{path::{PathBuf}, env};
|
||||
use std::{env, path::PathBuf};
|
||||
|
||||
fn main() -> Result<()> {
|
||||
let matches = App::new("tasks")
|
||||
|
||||
Reference in New Issue
Block a user