diff options
Diffstat (limited to 'crates/ra_syntax/src/ast')
-rw-r--r-- | crates/ra_syntax/src/ast/expr_ext.rs (renamed from crates/ra_syntax/src/ast/expr_extensions.rs) | 0 | ||||
-rw-r--r-- | crates/ra_syntax/src/ast/node_ext.rs (renamed from crates/ra_syntax/src/ast/extensions.rs) | 0 | ||||
-rw-r--r-- | crates/ra_syntax/src/ast/token_ext.rs (renamed from crates/ra_syntax/src/ast/tokens.rs) | 3 |
3 files changed, 2 insertions, 1 deletions
diff --git a/crates/ra_syntax/src/ast/expr_extensions.rs b/crates/ra_syntax/src/ast/expr_ext.rs index db5438d68..db5438d68 100644 --- a/crates/ra_syntax/src/ast/expr_extensions.rs +++ b/crates/ra_syntax/src/ast/expr_ext.rs | |||
diff --git a/crates/ra_syntax/src/ast/extensions.rs b/crates/ra_syntax/src/ast/node_ext.rs index 662c6f73e..662c6f73e 100644 --- a/crates/ra_syntax/src/ast/extensions.rs +++ b/crates/ra_syntax/src/ast/node_ext.rs | |||
diff --git a/crates/ra_syntax/src/ast/tokens.rs b/crates/ra_syntax/src/ast/token_ext.rs index 045f69133..c5ef92733 100644 --- a/crates/ra_syntax/src/ast/tokens.rs +++ b/crates/ra_syntax/src/ast/token_ext.rs | |||
@@ -5,11 +5,12 @@ use std::{ | |||
5 | convert::{TryFrom, TryInto}, | 5 | convert::{TryFrom, TryInto}, |
6 | }; | 6 | }; |
7 | 7 | ||
8 | use rustc_lexer::unescape::{unescape_literal, Mode}; | ||
9 | |||
8 | use crate::{ | 10 | use crate::{ |
9 | ast::{AstToken, Comment, RawString, String, Whitespace}, | 11 | ast::{AstToken, Comment, RawString, String, Whitespace}, |
10 | TextRange, TextSize, | 12 | TextRange, TextSize, |
11 | }; | 13 | }; |
12 | use rustc_lexer::unescape::{unescape_literal, Mode}; | ||
13 | 14 | ||
14 | impl Comment { | 15 | impl Comment { |
15 | pub fn kind(&self) -> CommentKind { | 16 | pub fn kind(&self) -> CommentKind { |