File tree Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -73,7 +73,7 @@ A _const context_ is one of the following:
7373[ constants ] : items/constant-items.md
7474[ dereference operator ] : expressions/operator-expr.md#the-dereference-operator
7575[ destructors ] : destructors.md
76- [ enum discriminants ] : items/enumerations.md#custom-discriminant-values-for-field-less -enumerations
76+ [ enum discriminants ] : items/enumerations.md#custom-discriminant-values-for-fieldless -enumerations
7777[ enum variant ] : expressions/enum-variant-expr.md
7878[ expression statements ] : statements.md#expression-statements
7979[ expressions ] : expressions.md
Original file line number Diff line number Diff line change @@ -61,7 +61,7 @@ integer associated to it that is used to determine which variant it holds. An
6161opaque reference to this discriminant can be obtained with the
6262[ ` mem::discriminant ` ] function.
6363
64- ## Custom Discriminant Values for Field-Less Enumerations
64+ ## Custom Discriminant Values for Fieldless Enumerations
6565
6666If there is no data attached to * any* of the variants of an enumeration,
6767then the discriminant can be directly chosen and accessed.
Original file line number Diff line number Diff line change @@ -354,7 +354,7 @@ used with any other representation.
354354[ `size_of` ] : ../std/mem/fn.size_of.html
355355[ `Sized` ] : ../std/marker/trait.Sized.html
356356[ dynamically sized types ] : dynamically-sized-types.md
357- [ C-like enumerations ] : items/enumerations.md#custom-discriminant-values-for-field-less -enumerations
357+ [ C-like enumerations ] : items/enumerations.md#custom-discriminant-values-for-fieldless -enumerations
358358[ zero-variant enumerations ] : items/enumerations.md#zero-variant-enums
359359[ undefined behavior ] : behavior-considered-undefined.md
360360[ 27060 ] : https://github.com/rust-lang/rust/issues/27060
You can’t perform that action at this time.
0 commit comments