]> git.lizzy.rs Git - enumset.git/blobdiff - enumset/src/lib.rs
Minor clarification to documentation for serialize_repr
[enumset.git] / enumset / src / lib.rs
index bb5f0e3d2f0d5ad8740a2a34df88c5db629c29a9..5f098f8f5c632a2b115d9136400eb5ad0ccfbb5e 100644 (file)
@@ -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.