diff --git a/build.rs b/build.rs index 0f7071a5..9911bb79 100644 --- a/build.rs +++ b/build.rs @@ -93,7 +93,9 @@ fn build_bindgen() { // Generate `pub const NNG_UNIT_EVENTS` instead of `nng_unit_enum_NNG_UNIT_EVENTS` .prepend_enum_name(false) // Generate `pub enum ...` instead of multiple `pub const ...` - .default_enum_style(bindgen::EnumVariation::Rust { non_exhaustive: false }) + .default_enum_style(bindgen::EnumVariation::Rust { + non_exhaustive: false, + }) .constified_enum("nng_flag_enum") // NNG_ESYSERR and NNG_ETRANERR are used like flag .constified_enum("nng_errno_enum")