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,7 +1,3 @@
|
|||
extern crate failure;
|
||||
extern crate itertools;
|
||||
extern crate teraron;
|
||||
|
||||
use std::{
|
||||
path::{Path, PathBuf},
|
||||
process::{Command, Stdio},
|
||||
|
@ -12,7 +8,7 @@ use itertools::Itertools;
|
|||
|
||||
pub use teraron::{Mode, Overwrite, Verify};
|
||||
|
||||
pub type Result<T> = ::std::result::Result<T, failure::Error>;
|
||||
pub type Result<T> = std::result::Result<T, failure::Error>;
|
||||
|
||||
pub const GRAMMAR: &str = "crates/ra_syntax/src/grammar.ron";
|
||||
pub const SYNTAX_KINDS: &str = "crates/ra_syntax/src/syntax_kinds/generated.rs.tera";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue