diff options
Diffstat (limited to 'crates/ra_ide_api/src/matching_brace.rs')
-rw-r--r-- | crates/ra_ide_api/src/matching_brace.rs | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/crates/ra_ide_api/src/matching_brace.rs b/crates/ra_ide_api/src/matching_brace.rs index 7f3e65b46..438b07896 100644 --- a/crates/ra_ide_api/src/matching_brace.rs +++ b/crates/ra_ide_api/src/matching_brace.rs | |||
@@ -1,10 +1,4 @@ | |||
1 | use ra_syntax::{ | 1 | use ra_syntax::{algo::find_token_at_offset, ast::AstNode, SourceFile, SyntaxKind, TextUnit, T}; |
2 | SourceFile, TextUnit, | ||
3 | algo::find_token_at_offset, | ||
4 | SyntaxKind::{self}, | ||
5 | ast::AstNode, | ||
6 | T | ||
7 | }; | ||
8 | 2 | ||
9 | pub fn matching_brace(file: &SourceFile, offset: TextUnit) -> Option<TextUnit> { | 3 | pub fn matching_brace(file: &SourceFile, offset: TextUnit) -> Option<TextUnit> { |
10 | const BRACES: &[SyntaxKind] = | 4 | const BRACES: &[SyntaxKind] = |