From b096d6690dc71bdda1917d736001430c3b25df06 Mon Sep 17 00:00:00 2001 From: jeikabu Date: Wed, 1 Jan 2020 11:55:44 +0200 Subject: [PATCH] rustfmt --- build.rs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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")