modernize some code

This commit is contained in:
Aleksey Kladov 2018-12-06 20:42:03 +03:00
parent 25cf2349ab
commit 49324ee566
3 changed files with 7 additions and 18 deletions

View file

@ -1,16 +1,12 @@
extern crate clap;
extern crate failure;
extern crate teraron;
extern crate tools;
extern crate walkdir;
use clap::{App, Arg, SubCommand};
use failure::bail;
use std::{
collections::HashMap,
fs,
path::{Path, PathBuf},
};
use clap::{App, Arg, SubCommand};
use failure::bail;
use tools::{collect_tests, generate, run, run_rustfmt, Mode, Overwrite, Result, Test, Verify};
const GRAMMAR_DIR: &str = "./crates/ra_syntax/src/grammar";