⬆️ ungrammar

This commit is contained in:
Aleksey Kladov 2020-08-21 19:12:38 +02:00
parent df54561a68
commit 863b1fb731
11 changed files with 19 additions and 17 deletions

View file

@ -573,7 +573,7 @@ impl<'db> SemanticsImpl<'db> {
fn is_unsafe_method_call(&self, method_call_expr: &ast::MethodCallExpr) -> bool {
method_call_expr
.expr()
.receiver()
.and_then(|expr| {
let field_expr = match expr {
ast::Expr::FieldExpr(field_expr) => field_expr,