We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent af26991 commit 07bbd04Copy full SHA for 07bbd04
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::new()))
+ .parse_callbacks(Box::new(bindgen::CargoCallbacks))
34
// Finish the builder and generate the bindings.
35
.generate()
36
// Unwrap the Result and panic on failure.
0 commit comments