Respond to review feedback

This commit is contained in:
Wesley Wiser 2021-06-30 21:53:48 -04:00
parent 9b5fe6e4de
commit f6d2843d68
2 changed files with 6 additions and 2 deletions

View file

@ -1545,7 +1545,7 @@ impl EnumMemberDescriptionFactory<'ll, 'tcx> {
// {name} discriminant;
// }
// ```
// The natvis in `intrinsic.nativs` then matches on `this.discriminant` to
// The natvis in `intrinsic.natvis` then matches on `this.discriminant` to
// determine which variant is active and then displays it.
let enum_layout = self.layout;
let offset = enum_layout.fields.offset(tag_field);