mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-28 21:05:02 +00:00
Run cargo fix --edition-idioms
This commit is contained in:
parent
23d25a3094
commit
816f7fe12a
230 changed files with 888 additions and 888 deletions
|
@ -138,7 +138,7 @@ enum Variant {
|
|||
}
|
||||
|
||||
impl Variant {
|
||||
fn fields(self, ctx: &CompletionContext) -> Option<Vec<hir::Field>> {
|
||||
fn fields(self, ctx: &CompletionContext<'_>) -> Option<Vec<hir::Field>> {
|
||||
let fields = match self {
|
||||
Variant::Struct(it) => it.fields(ctx.db),
|
||||
Variant::EnumVariant(it) => it.fields(ctx.db),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue