From 1834bae5b86c54ed9dece26e82436919d59e6cb7 Mon Sep 17 00:00:00 2001 From: Aleksey Kladov Date: Thu, 4 Jul 2019 23:05:17 +0300 Subject: 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 --- crates/ra_tools/src/main.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'crates/ra_tools/src/main.rs') diff --git a/crates/ra_tools/src/main.rs b/crates/ra_tools/src/main.rs index 846e0223e..7ed592f71 100644 --- a/crates/ra_tools/src/main.rs +++ b/crates/ra_tools/src/main.rs @@ -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") -- cgit v1.2.3