@@ -133,7 +133,7 @@ Each enum instance has a _discriminant_: an integer logically associated to it
133
133
that is used to determine which variant it holds.
134
134
135
135
r[ items.enum.discriminant.repr-rust]
136
- Under the [ default representation] , the discriminant is interpreted as
136
+ Under the [ ` Rust ` representation] , the discriminant is interpreted as
137
137
an ` isize ` value. However, the compiler is allowed to use a smaller type (or
138
138
another means of distinguishing variants) in its actual memory layout.
139
139
@@ -378,14 +378,14 @@ enum E {
378
378
[ `C` representation ] : ../type-layout.md#the-c-representation
379
379
[ call expression ] : ../expressions/call-expr.md
380
380
[ constant expression ] : ../const_eval.md#constant-expressions
381
- [ default representation ] : ../type-layout.md#the-default-representation
382
381
[ enumerated type ] : ../types/enum.md
383
382
[ Field-less enums ] : #field-less-enum
384
383
[ IDENTIFIER ] : ../identifiers.md
385
384
[ never type ] : ../types/never.md
386
385
[ numeric cast ] : ../expressions/operator-expr.md#semantics
387
386
[ path expression ] : ../expressions/path-expr.md
388
387
[ primitive representation ] : ../type-layout.md#primitive-representations
388
+ [ `Rust` representation ] : ../type-layout.md#the-rust-representation
389
389
[ struct expression ] : ../expressions/struct-expr.md
390
390
[ struct ] : structs.md
391
391
[ type namespace ] : ../names/namespaces.md
0 commit comments