somewhat better name

This commit is contained in:
Aleksey Kladov 2019-01-20 21:01:11 +03:00
parent 1ec1bd8139
commit 171f6e6d00
2 changed files with 2 additions and 2 deletions

View file

@ -299,7 +299,7 @@ impl Analysis {
}
/// Gets the syntax tree of the file.
pub fn file_syntax(&self, file_id: FileId) -> TreeArc<SourceFile> {
pub fn parse(&self, file_id: FileId) -> TreeArc<SourceFile> {
self.db.source_file(file_id).clone()
}