Skip to content

Commit 8577bca

Browse files
committed
issue 1723 [WIP]
1 parent 7186651 commit 8577bca

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/lib.rs

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1368,7 +1368,7 @@ impl Builder {
13681368
}
13691369

13701370
/// Generate the Rust bindings using the options built up thus far.
1371-
pub fn generate(mut self) -> Result<Bindings, ()> {
1371+
pub fn generate(self) -> Result<Bindings, ()> {
13721372
Bindings::generate(Builder::generate_options(self).options)
13731373
}
13741374

@@ -1385,7 +1385,8 @@ impl Builder {
13851385
"Cannot find clang executable",
13861386
)
13871387
})?;
1388-
// Builder::generate_options(self);
1388+
//Builder::generate_options(self);
1389+
13891390
// The contents of a wrapper file that includes all the input header
13901391
// files.
13911392
let mut wrapper_contents = String::new();

0 commit comments

Comments
 (0)