From 2e5b228dcbba783a8ddc345e37521597e9e3d0a0 Mon Sep 17 00:00:00 2001 From: David Tolnay Date: Tue, 24 Dec 2024 18:26:27 -0800 Subject: [PATCH] Fix #variant_identifier link --- _src/container-attrs.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/_src/container-attrs.md b/_src/container-attrs.md index 7203b83..828adab 100644 --- a/_src/container-attrs.md +++ b/_src/container-attrs.md @@ -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}