diff --git a/csbindgen/src/builder.rs b/csbindgen/src/builder.rs index 77f8403..8d0374c 100644 --- a/csbindgen/src/builder.rs +++ b/csbindgen/src/builder.rs @@ -65,9 +65,7 @@ impl Builder { /// Add an input .rs file(such as generated from bindgen) to generate binding. pub fn input_bindgen_file>(mut self, input_bindgen_file: T) -> Builder { - self.options - .input_bindgen_files - .push(input_bindgen_file.as_ref().to_path_buf()); + self.options.input_bindgen_files.push(input_bindgen_file.as_ref().to_path_buf()); self }