Skip to content

Commit 252de90

Browse files
committed
Wrap PR 146 to 80 columns
1 parent 2e5b228 commit 252de90

File tree

1 file changed

+10
-2
lines changed

1 file changed

+10
-2
lines changed

_src/container-attrs.md

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -71,11 +71,19 @@
7171

7272
- ##### `#[serde(variant_identifier)]` {#variant_identifier}
7373

74-
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.
74+
Use an identifier representation for this enum. This can only be applied to
75+
enums that are C-like (containing only unit variants), and forces them to
76+
always be represented as strings, regardless of the underlying data format's
77+
representation of enums.
7578

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

78-
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.
81+
Identical to [`variant_identifier`](#variant_identifier), but also allows for
82+
the last variant to be a newtype variant, which will be used if none of the
83+
other variants match (similar to
84+
[`#[serde(other)]`](../variant-attrs.html#other)). Like `variant_identifier`,
85+
this forces the enum to always be represented as a string, regardless of the
86+
underlying data format's representation of enums.
7987

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

0 commit comments

Comments
 (0)