]> git.lizzy.rs Git - enumset.git/commitdiff
Update documentation to reflect proc-macro-crate not being available by default anymore.
authorAlissa Rao <lymia@lymiahugs.com>
Tue, 5 Apr 2022 07:56:07 +0000 (00:56 -0700)
committerAlissa Rao <lymia@lymiahugs.com>
Tue, 5 Apr 2022 07:56:07 +0000 (00:56 -0700)
enumset/src/lib.rs

index 5a137c3dee2d3d13930f6c0d6f7b2b0d3515b529..e36c22b0018c5279ad66075a1c2bd46337f5eacc 100644 (file)
@@ -164,8 +164,8 @@ use crate::repr::EnumSetTypeRepr;
 ///   automatically derived versions, or unintentional behavior may be a result.
 /// * `#[enumset(no_ops)` prevents the derive from implementing any operator traits.
 /// * `#[enumset(crate_name = "enumset2")]` may be used to change the name of the `enumset` crate
-///   used in the generated code. By default enumset parses `Cargo.toml` to determine the name of
-///   the crate, or falls back to `enumset` if it cannot be parsed.
+///   used in the generated code. When the `std` feature is enabled, enumset parses `Cargo.toml`
+///   to determine the name of the crate, and this flag is unnecessary.
 ///
 /// When the `serde` feature is used, the following features may also be specified. These options
 /// may be used (with no effect) when building without the feature enabled: