diff options
Diffstat (limited to 'crates/ra_cli')
-rw-r--r-- | crates/ra_cli/src/main.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/ra_cli/src/main.rs b/crates/ra_cli/src/main.rs index 48bc64450..b063193cf 100644 --- a/crates/ra_cli/src/main.rs +++ b/crates/ra_cli/src/main.rs | |||
@@ -102,7 +102,7 @@ fn main() -> Result<()> { | |||
102 | 102 | ||
103 | fn file() -> Result<TreeArc<SourceFile>> { | 103 | fn file() -> Result<TreeArc<SourceFile>> { |
104 | let text = read_stdin()?; | 104 | let text = read_stdin()?; |
105 | Ok(SourceFile::parse(&text).tree) | 105 | Ok(SourceFile::parse(&text).tree().to_owned()) |
106 | } | 106 | } |
107 | 107 | ||
108 | fn read_stdin() -> Result<String> { | 108 | fn read_stdin() -> Result<String> { |