mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-30 13:51:31 +00:00
feat: Implement inline_method
assist
This commit is contained in:
parent
fbdcb49d48
commit
688398febc
9 changed files with 300 additions and 72 deletions
|
@ -47,7 +47,7 @@ impl TryEnum {
|
|||
iter::once(make::wildcard_pat().into()),
|
||||
)
|
||||
.into(),
|
||||
TryEnum::Option => make::ident_pat(make::name("None")).into(),
|
||||
TryEnum::Option => make::ext::simple_ident_pat(make::name("None")).into(),
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue