mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-28 12:54:58 +00:00
modernize some code
This commit is contained in:
parent
25cf2349ab
commit
49324ee566
3 changed files with 7 additions and 18 deletions
|
@ -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";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue