mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-10-03 07:04:49 +00:00
renames
This commit is contained in:
parent
dc40f1298a
commit
a66c94af1b
11 changed files with 28 additions and 28 deletions
|
@ -130,7 +130,7 @@ fn lambda_expr(p: &mut Parser) -> CompletedMarker {
|
|||
let m = p.start();
|
||||
p.eat(MOVE_KW);
|
||||
params::param_list_opt_types(p);
|
||||
if fn_ret_type(p) {
|
||||
if opt_fn_ret_type(p) {
|
||||
block(p);
|
||||
} else {
|
||||
expr(p);
|
||||
|
|
|
@ -265,7 +265,7 @@ fn method_call_expr(p: &mut Parser, lhs: CompletedMarker) -> CompletedMarker {
|
|||
let m = lhs.precede(p);
|
||||
p.bump();
|
||||
name_ref(p);
|
||||
type_args::type_arg_list(p, true);
|
||||
type_args::opt_type_arg_list(p, true);
|
||||
if p.at(L_PAREN) {
|
||||
arg_list(p);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue