diff options
author | bors[bot] <bors[bot]@users.noreply.github.com> | 2018-12-06 18:17:09 +0000 |
---|---|---|
committer | bors[bot] <bors[bot]@users.noreply.github.com> | 2018-12-06 18:17:09 +0000 |
commit | 8e60e751cbcfa47c7bed788dfe2ab5cebfcb78b3 (patch) | |
tree | 58f01a945f7c27d6baaecf38e84617ca46782073 /crates/tools/src/lib.rs | |
parent | 5ad84f0ca5fe9bb250cd4026e5dcb5478d932666 (diff) | |
parent | 28ddecf6c99ef23bc96b9eb7bc8ee049f1732e76 (diff) |
Merge #260
260: Modernize r=matklad a=matklad
Co-authored-by: Aleksey Kladov <[email protected]>
Diffstat (limited to 'crates/tools/src/lib.rs')
-rw-r--r-- | crates/tools/src/lib.rs | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/crates/tools/src/lib.rs b/crates/tools/src/lib.rs index 4ff783c50..c2123db99 100644 --- a/crates/tools/src/lib.rs +++ b/crates/tools/src/lib.rs | |||
@@ -1,7 +1,3 @@ | |||
1 | extern crate failure; | ||
2 | extern crate itertools; | ||
3 | extern crate teraron; | ||
4 | |||
5 | use std::{ | 1 | use std::{ |
6 | path::{Path, PathBuf}, | 2 | path::{Path, PathBuf}, |
7 | process::{Command, Stdio}, | 3 | process::{Command, Stdio}, |
@@ -12,7 +8,7 @@ use itertools::Itertools; | |||
12 | 8 | ||
13 | pub use teraron::{Mode, Overwrite, Verify}; | 9 | pub use teraron::{Mode, Overwrite, Verify}; |
14 | 10 | ||
15 | pub type Result<T> = ::std::result::Result<T, failure::Error>; | 11 | pub type Result<T> = std::result::Result<T, failure::Error>; |
16 | 12 | ||
17 | pub const GRAMMAR: &str = "crates/ra_syntax/src/grammar.ron"; | 13 | pub const GRAMMAR: &str = "crates/ra_syntax/src/grammar.ron"; |
18 | pub const SYNTAX_KINDS: &str = "crates/ra_syntax/src/syntax_kinds/generated.rs.tera"; | 14 | pub const SYNTAX_KINDS: &str = "crates/ra_syntax/src/syntax_kinds/generated.rs.tera"; |