Skip to content

Commit 50213af

Browse files
authoredFeb 23, 2020
Merge pull request #768 from varkor/fieldless
Replace "Field-Less" with "Fieldless"
2 parents 8f643f0 + 2264855 commit 50213af

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed
 

‎src/const_eval.md

+1-1
Original file line numberDiff line numberDiff 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

‎src/items/enumerations.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ integer associated to it that is used to determine which variant it holds. An
6161
opaque 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

6666
If there is no data attached to *any* of the variants of an enumeration,
6767
then the discriminant can be directly chosen and accessed.

‎src/type-layout.md

+1-1
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)
Please sign in to comment.