Skip to content

Commit 5855f98

Browse files
elichaieqrion
authored andcommitted
Cargo fmt
1 parent b4887fe commit 5855f98

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

src/bindgen/bindings.rs

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,6 @@ impl Bindings {
112112
out.write("#include <cstdlib>");
113113
out.new_line();
114114
}
115-
116115
}
117116

118117
for include in &self.config.sys_includes {
@@ -129,7 +128,10 @@ impl Bindings {
129128
pub fn write<F: Write>(&self, file: F) {
130129
let mut out = SourceWriter::new(file, &self.config);
131130

132-
if !self.config.no_includes || !self.config.includes.is_empty() || !self.config.sys_includes.is_empty() {
131+
if !self.config.no_includes
132+
|| !self.config.includes.is_empty()
133+
|| !self.config.sys_includes.is_empty()
134+
{
133135
self.write_headers(&mut out);
134136
}
135137

0 commit comments

Comments
 (0)