diff options
-rw-r--r-- | src/codegen/mod.rs | 2 | ||||
-rw-r--r-- | src/lib.rs | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/codegen/mod.rs b/src/codegen/mod.rs index 1fad91f4..d9ac4aa0 100644 --- a/src/codegen/mod.rs +++ b/src/codegen/mod.rs @@ -2279,7 +2279,7 @@ impl MethodCodegen for Method { pub enum EnumVariation { /// The code for this enum will use a Rust enum Rust { - /// Indicates whether the generated struct should be #[non_exhaustive] + /// Indicates whether the generated struct should be `#[non_exhaustive]` non_exhaustive: bool, }, /// The code for this enum will use a newtype @@ -909,7 +909,7 @@ impl Builder { } /// Mark the given enum (or set of enums, if using a pattern) as a Rust - /// enum with the #[non_exhaustive] attribute. + /// enum with the `#[non_exhaustive]` attribute. /// /// This makes bindgen generate enums instead of constants. Regular /// expressions are supported. |