We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 03a3010 commit bc47abfCopy full SHA for bc47abf
1 file changed
macros/src/lib.rs
@@ -396,7 +396,9 @@ pub fn derive_variant_discriminant(input: TokenStream) -> TokenStream {
396
/// then you can do so by use of an `#[enumcapsulate(exclude(…))]` attribute
397
/// on the enum itself, such as if you wanted to exclude `From` and `TryInto`:
398
///
399
-/// ```rust
+/// ```ignore
400
+/// use enumcapsulate::Encapsulate;
401
+///
402
/// #[derive(Encapsulate)]
403
/// #[enumcapsulate(exclude(From, TryInto))]
404
/// enum Enum {
0 commit comments