Skip to content

Commit 0d97223

Browse files
committed
Rename #variant_identifier and #field_identifier anchors
1 parent 0d69d8d commit 0d97223

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

_src/container-attrs.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,11 +69,11 @@
6969
Use the untagged enum representation for this enum. See [enum
7070
representations](enum-representations.md) for details on this representation.
7171

72-
- ##### `#[serde(variant_identifier)]` {#variant--identifier}
72+
- ##### `#[serde(variant_identifier)]` {#variant_identifier}
7373

7474
Use an identifier representation for this enum. This can only be applied to enums that are C-like (containing only unit variants), and forces them to always be represented as strings, regardless of the underlying data format's representation of enums.
7575

76-
- ##### `#[serde(field_identifier)]` {#field--identifier}
76+
- ##### `#[serde(field_identifier)]` {#field_identifier}
7777

7878
Identical to [`variant_identifier`](#variant--identifier), but also allows for the last variant to be a newtype variant, which will be used if none of the other variants match (similar to [`#[serde(other)]`](../variant-attrs.html#other)). Like `variant_identifier`, this forces the enum to always be represented as a string, regardless of the underlying data format's representation of enums.
7979

0 commit comments

Comments
 (0)