You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
/// Niche (values invalid for a type) encoding the discriminant.
1596
1596
/// Note that for this encoding, the discriminant and variant index of each variant coincide!
1597
1597
/// (This gets checked, for example, in [codegen_ssa](https://github.com/rust-lang/rust/blob/df32e15c56f582eb2bdde07711af6271f2ae660b/compiler/rustc_codegen_ssa/src/mir/operand.rs#L485).)
1598
-
///
1598
+
///
1599
1599
/// The variant `untagged_variant` contains a niche at an arbitrary
1600
1600
/// offset (field [`Variants::Multiple::tag_field`] of the enum).
1601
1601
/// For a variant with variant index `i`, such that `i!=untagged_variant`,
1602
1602
/// the tag is set to `(i - niche_variants.start).wrapping_add(niche_start)`
1603
-
/// (this is wrapping arithmetic using the type of the niche field, cf. the
1603
+
/// (this is wrapping arithmetic using the type of the niche field, cf. the
0 commit comments