diff options
author | Aleksey Kladov <[email protected]> | 2019-01-20 18:01:11 +0000 |
---|---|---|
committer | Aleksey Kladov <[email protected]> | 2019-01-20 18:01:11 +0000 |
commit | 171f6e6d00d1fc99395b7b92c8a40b47d6bd6962 (patch) | |
tree | 2e13e38ceea1605da1c6d0f0e2c493a04dec4bd3 /crates/ra_ide_api | |
parent | 1ec1bd8139251092e567d0b6034f96e3fdf33afb (diff) |
somewhat better name
Diffstat (limited to 'crates/ra_ide_api')
-rw-r--r-- | crates/ra_ide_api/src/lib.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/ra_ide_api/src/lib.rs b/crates/ra_ide_api/src/lib.rs index 9ee5467ed..e41d85e70 100644 --- a/crates/ra_ide_api/src/lib.rs +++ b/crates/ra_ide_api/src/lib.rs | |||
@@ -299,7 +299,7 @@ impl Analysis { | |||
299 | } | 299 | } |
300 | 300 | ||
301 | /// Gets the syntax tree of the file. | 301 | /// Gets the syntax tree of the file. |
302 | pub fn file_syntax(&self, file_id: FileId) -> TreeArc<SourceFile> { | 302 | pub fn parse(&self, file_id: FileId) -> TreeArc<SourceFile> { |
303 | self.db.source_file(file_id).clone() | 303 | self.db.source_file(file_id).clone() |
304 | } | 304 | } |
305 | 305 | ||