mirror of
https://github.com/danog/strum.git
synced 2024-11-30 04:28:59 +01:00
Enable doc-test for "strum_discriminants(vis(pub))" (#289)
This commit is contained in:
parent
fcb9841a74
commit
2782412396
@ -713,7 +713,7 @@ pub fn enum_properties(input: proc_macro::TokenStream) -> proc_macro::TokenStrea
|
||||
/// of the generated enum. By default, the generated enum inherits the
|
||||
/// visibility of the parent enum it was generated from.
|
||||
///
|
||||
/// ```nocompile
|
||||
/// ```
|
||||
/// use strum_macros::EnumDiscriminants;
|
||||
///
|
||||
/// // You can set the visibility of the generated enum using the `#[strum_discriminants(vis(..))]` attribute:
|
||||
|
Loading…
Reference in New Issue
Block a user