diff options
author | Aleksey Kladov <[email protected]> | 2018-08-01 08:40:07 +0100 |
---|---|---|
committer | Aleksey Kladov <[email protected]> | 2018-08-01 08:40:07 +0100 |
commit | 966e9db2b83802dfb55d55bd3a26e69dced1bbd7 (patch) | |
tree | 6d3bda084eab1221bcad7602aa26a2c307850a72 /src/ast.rs | |
parent | b9189ed2db8cb1934e677a17fcc6282c66306df1 (diff) |
Extract libeditor
Diffstat (limited to 'src/ast.rs')
-rw-r--r-- | src/ast.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ast.rs b/src/ast.rs index 48e1d23ac..caf5fb7ef 100644 --- a/src/ast.rs +++ b/src/ast.rs | |||
@@ -9,7 +9,7 @@ pub struct File<R: TreeRoot = Arc<SyntaxRoot>> { | |||
9 | impl File<Arc<SyntaxRoot>> { | 9 | impl File<Arc<SyntaxRoot>> { |
10 | pub fn parse(text: &str) -> Self { | 10 | pub fn parse(text: &str) -> Self { |
11 | File { | 11 | File { |
12 | syntax: ::parse(text.to_owned()), | 12 | syntax: ::parse(text), |
13 | } | 13 | } |
14 | } | 14 | } |
15 | } | 15 | } |