Skip to content

Commit

Permalink
Fix #variant_identifier link
Browse files Browse the repository at this point in the history
  • Loading branch information
dtolnay committed Dec 25, 2024
1 parent 0d97223 commit 2e5b228
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion _src/container-attrs.md
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@

- ##### `#[serde(field_identifier)]` {#field_identifier}

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.
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.

- ##### `#[serde(bound = "T: MyTrait")]` {#bound}

Expand Down

0 comments on commit 2e5b228

Please sign in to comment.