aboutsummaryrefslogtreecommitdiff
path: root/crates/libeditor/src
diff options
context:
space:
mode:
authorAleksey Kladov <[email protected]>2018-08-25 09:48:59 +0100
committerAleksey Kladov <[email protected]>2018-08-25 09:48:59 +0100
commita44428fc796cb5afb5b85cd246974e590eef2040 (patch)
tree9ca2dc0586e2177a141419fb0c44610e17d3e8e3 /crates/libeditor/src
parent70333c8edfd9fd958ceb5669b578a33a289473fe (diff)
kill more reexports
Diffstat (limited to 'crates/libeditor/src')
-rw-r--r--crates/libeditor/src/lib.rs4
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
54pub fn parse(text: &str) -> File {
55 File::parse(text)
56}
57
58pub fn matching_brace(file: &File, offset: TextUnit) -> Option<TextUnit> { 54pub 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,