Skip to content

Commit

Permalink
Minor clarification to documentation for serialize_repr
Browse files Browse the repository at this point in the history
  • Loading branch information
Lymia committed Apr 12, 2022
1 parent 31f0558 commit cdbb8df
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion enumset/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ use crate::repr::EnumSetTypeRepr;
/// may be used (with no effect) when building without the feature enabled:
///
/// * `#[enumset(serialize_repr = "u8")]` may be used to specify the integer type used to serialize
/// the underlying bitset.
/// the underlying bitset. Any type allowed in the `repr` option may be used in this option.
/// * `#[enumset(serialize_as_list)]` may be used to serialize the bitset as a list of enum
/// variants instead of an integer. This requires [`Deserialize`] and [`Serialize`] be
/// implemented on the enum.
Expand Down

0 comments on commit cdbb8df

Please sign in to comment.