We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1c4ec52 commit 9b5b800Copy full SHA for 9b5b800
book/src/tutorial-3.md
@@ -30,7 +30,7 @@ fn main() {
30
.header("wrapper.h")
31
// Tell cargo to invalidate the built crate whenever any of the
32
// included header files changed.
33
- .parse_callbacks(Box::new(bindgen::CargoCallbacks))
+ .parse_callbacks(Box::new(bindgen::CargoCallbacks::new()))
34
// Finish the builder and generate the bindings.
35
.generate()
36
// Unwrap the Result and panic on failure.
0 commit comments