mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-27 04:19:13 +00:00
⬆️ ungrammar
This commit is contained in:
parent
df54561a68
commit
863b1fb731
11 changed files with 19 additions and 17 deletions
|
@ -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,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue