diff options
Diffstat (limited to 'crates/libeditor')
-rw-r--r-- | crates/libeditor/src/lib.rs | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/crates/libeditor/src/lib.rs b/crates/libeditor/src/lib.rs index da337cca0..a604d1951 100644 --- a/crates/libeditor/src/lib.rs +++ b/crates/libeditor/src/lib.rs | |||
@@ -51,10 +51,6 @@ pub enum RunnableKind { | |||
51 | Bin, | 51 | Bin, |
52 | } | 52 | } |
53 | 53 | ||
54 | pub fn parse(text: &str) -> File { | ||
55 | File::parse(text) | ||
56 | } | ||
57 | |||
58 | pub fn matching_brace(file: &File, offset: TextUnit) -> Option<TextUnit> { | 54 | pub fn matching_brace(file: &File, offset: TextUnit) -> Option<TextUnit> { |
59 | const BRACES: &[SyntaxKind] = &[ | 55 | const BRACES: &[SyntaxKind] = &[ |
60 | L_CURLY, R_CURLY, | 56 | L_CURLY, R_CURLY, |