From 500d5affffc523461698487bc699251d565fec1a Mon Sep 17 00:00:00 2001 From: hasezoey Date: Thu, 3 Aug 2023 15:01:11 +0200 Subject: [PATCH] Enable doc-test for "strum_discriminants(vis(pub))" --- strum_macros/src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/strum_macros/src/lib.rs b/strum_macros/src/lib.rs index a37ccdcc..1c1fd092 100644 --- a/strum_macros/src/lib.rs +++ b/strum_macros/src/lib.rs @@ -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: