diff options
author | bors[bot] <26634292+bors[bot]@users.noreply.github.com> | 2021-04-30 09:57:17 +0100 |
---|---|---|
committer | GitHub <[email protected]> | 2021-04-30 09:57:17 +0100 |
commit | 6ea91a419f89e2486938d139daf8eb8620444944 (patch) | |
tree | 82e7ad6968979da2c101d878c459618f1209cda2 /crates/ide_completion/src/render/enum_variant.rs | |
parent | 80bee14e14f67f02746befff77a8a4bbfd3e5849 (diff) | |
parent | 1a01a5ae190ad02e44c3550ac0336b1f0983be51 (diff) |
Merge #8695
8695: internal: fix naming polarity r=matklad a=matklad
bors r+
🤖
Co-authored-by: Aleksey Kladov <[email protected]>
Diffstat (limited to 'crates/ide_completion/src/render/enum_variant.rs')
-rw-r--r-- | crates/ide_completion/src/render/enum_variant.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/ide_completion/src/render/enum_variant.rs b/crates/ide_completion/src/render/enum_variant.rs index 832f5ced1..0c0c71134 100644 --- a/crates/ide_completion/src/render/enum_variant.rs +++ b/crates/ide_completion/src/render/enum_variant.rs | |||
@@ -93,7 +93,7 @@ impl<'a> EnumRender<'a> { | |||
93 | .variant | 93 | .variant |
94 | .fields(self.ctx.db()) | 94 | .fields(self.ctx.db()) |
95 | .into_iter() | 95 | .into_iter() |
96 | .map(|field| (field.name(self.ctx.db()), field.signature_ty(self.ctx.db()))); | 96 | .map(|field| (field.name(self.ctx.db()), field.ty(self.ctx.db()))); |
97 | 97 | ||
98 | match self.variant_kind { | 98 | match self.variant_kind { |
99 | StructKind::Tuple | StructKind::Unit => format!( | 99 | StructKind::Tuple | StructKind::Unit => format!( |