1
0
mirror of https://github.com/danog/strum.git synced 2024-11-26 12:04:38 +01:00

Enable doc-test for "strum_discriminants(vis(pub))" (#289)

This commit is contained in:
hasezoey 2023-08-07 01:48:02 +02:00 committed by GitHub
parent fcb9841a74
commit 2782412396
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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: