diff options
author | Aleksey Kladov <[email protected]> | 2020-07-10 13:09:31 +0100 |
---|---|---|
committer | Aleksey Kladov <[email protected]> | 2020-07-10 13:09:31 +0100 |
commit | 9c54537ecf4694d02f45c7ca0a3828c08c0a0efd (patch) | |
tree | 53b289620281b033c6057573382bfd9856847c1f /crates/ra_hir/src/semantics.rs | |
parent | b85042601d69d1c592b731430ef0e445c39fda56 (diff) |
Rename
Diffstat (limited to 'crates/ra_hir/src/semantics.rs')
-rw-r--r-- | crates/ra_hir/src/semantics.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/ra_hir/src/semantics.rs b/crates/ra_hir/src/semantics.rs index 6b6c5e494..4677eb561 100644 --- a/crates/ra_hir/src/semantics.rs +++ b/crates/ra_hir/src/semantics.rs | |||
@@ -375,7 +375,7 @@ impl<'db> SemanticsImpl<'db> { | |||
375 | } | 375 | } |
376 | 376 | ||
377 | pub fn type_of_expr(&self, expr: &ast::Expr) -> Option<Type> { | 377 | pub fn type_of_expr(&self, expr: &ast::Expr) -> Option<Type> { |
378 | self.analyze(expr.syntax()).type_of(self.db, &expr) | 378 | self.analyze(expr.syntax()).type_of_expr(self.db, &expr) |
379 | } | 379 | } |
380 | 380 | ||
381 | pub fn type_of_pat(&self, pat: &ast::Pat) -> Option<Type> { | 381 | pub fn type_of_pat(&self, pat: &ast::Pat) -> Option<Type> { |