diff options
author | Aleksey Kladov <[email protected]> | 2019-02-20 13:16:14 +0000 |
---|---|---|
committer | Aleksey Kladov <[email protected]> | 2019-02-20 13:16:14 +0000 |
commit | a4a1e08ab81193112a2e14413d084916241c3fca (patch) | |
tree | cef2c72994495e37b4e34cb7f7ff5a9b93765cd3 /crates/ra_syntax/src/validation/char.rs | |
parent | 9f6883fbf10567e4177dbe77857c970b6dc61f48 (diff) |
flatten modules
Diffstat (limited to 'crates/ra_syntax/src/validation/char.rs')
-rw-r--r-- | crates/ra_syntax/src/validation/char.rs | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/crates/ra_syntax/src/validation/char.rs b/crates/ra_syntax/src/validation/char.rs index 26c15e36d..3169ed590 100644 --- a/crates/ra_syntax/src/validation/char.rs +++ b/crates/ra_syntax/src/validation/char.rs | |||
@@ -8,10 +8,8 @@ use crate::{ | |||
8 | ast::{self, AstNode, AstToken}, | 8 | ast::{self, AstNode, AstToken}, |
9 | string_lexing::{self, StringComponentKind}, | 9 | string_lexing::{self, StringComponentKind}, |
10 | TextRange, | 10 | TextRange, |
11 | syntax_node::{ | 11 | SyntaxError, |
12 | SyntaxError, | 12 | SyntaxErrorKind::*, |
13 | SyntaxErrorKind::*, | ||
14 | }, | ||
15 | }; | 13 | }; |
16 | 14 | ||
17 | pub(super) fn validate_char_node(node: &ast::Char, errors: &mut Vec<SyntaxError>) { | 15 | pub(super) fn validate_char_node(node: &ast::Char, errors: &mut Vec<SyntaxError>) { |