Skip to content

Commit 9d5991b

Browse files
rdelfinpvdrz
authored andcommitted
Addressed comments
1 parent 1a98a22 commit 9d5991b

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -207,6 +207,7 @@
207207
- Add a complex macro fallback API (#2779).
208208
- Add option to use DST structs for flexible arrays (--flexarray-dst, #2772).
209209
- Add option to dynamically load variables (#2812).
210+
- Add option in CLI to use rustified non-exhaustive enums (--rustified-non-exhaustive-enum, #2847).
210211
## Changed
211212
- Remove which and lazy-static dependencies (#2809, #2817).
212213
- Generate compile-time layout tests (#2787).

bindgen/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -237,7 +237,7 @@ impl std::fmt::Display for Formatter {
237237
/// 2. [`bitfield_enum()`](#method.bitfield_enum)
238238
/// 3. [`newtype_enum()`](#method.newtype_enum)
239239
/// 4. [`rustified_enum()`](#method.rustified_enum)
240-
/// 4. [`rustified_non_exhaustive_enum()`](#method.rustified_non_exhaustive_enum)
240+
/// 5. [`rustified_non_exhaustive_enum()`](#method.rustified_non_exhaustive_enum)
241241
///
242242
/// For each C enum, bindgen tries to match the pattern in the following order:
243243
///

0 commit comments

Comments
 (0)