diff options
author | Aleksey Kladov <[email protected]> | 2020-08-21 18:12:38 +0100 |
---|---|---|
committer | Aleksey Kladov <[email protected]> | 2020-08-21 18:14:05 +0100 |
commit | 863b1fb731e797f02daeac87a94d40a34222a062 (patch) | |
tree | 7a3ae3553ad1c97ad4ac70d8b7126ee0ec5343ad /crates/hir | |
parent | df54561a689a9eb7b1962b69a397a1221200c116 (diff) |
:arrow_up: ungrammar
Diffstat (limited to 'crates/hir')
-rw-r--r-- | crates/hir/src/semantics.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/hir/src/semantics.rs b/crates/hir/src/semantics.rs index 8c5f2ff98..1594d4f0f 100644 --- a/crates/hir/src/semantics.rs +++ b/crates/hir/src/semantics.rs | |||
@@ -573,7 +573,7 @@ impl<'db> SemanticsImpl<'db> { | |||
573 | 573 | ||
574 | fn is_unsafe_method_call(&self, method_call_expr: &ast::MethodCallExpr) -> bool { | 574 | fn is_unsafe_method_call(&self, method_call_expr: &ast::MethodCallExpr) -> bool { |
575 | method_call_expr | 575 | method_call_expr |
576 | .expr() | 576 | .receiver() |
577 | .and_then(|expr| { | 577 | .and_then(|expr| { |
578 | let field_expr = match expr { | 578 | let field_expr = match expr { |
579 | ast::Expr::FieldExpr(field_expr) => field_expr, | 579 | ast::Expr::FieldExpr(field_expr) => field_expr, |