aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_cli
diff options
context:
space:
mode:
authorbors[bot] <26634292+bors[bot]@users.noreply.github.com>2019-07-12 17:42:06 +0100
committerbors[bot] <26634292+bors[bot]@users.noreply.github.com>2019-07-12 17:42:06 +0100
commit8bb81d7418dbc4c295d31d261441b67dba4c0f76 (patch)
treeaf552549d828905294f4f3c109cdc339c12020ad /crates/ra_cli
parent2e466bb365813620de15afd5e04736a92fffdca9 (diff)
parentdeab4caa7b1ba81c1b7e6561bc270bbde6467f13 (diff)
Merge #1524
1524: make Parse fields private r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]>
Diffstat (limited to 'crates/ra_cli')
-rw-r--r--crates/ra_cli/src/main.rs2
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
103fn file() -> Result<TreeArc<SourceFile>> { 103fn 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
108fn read_stdin() -> Result<String> { 108fn read_stdin() -> Result<String> {