Skip to content

Commit 725646b

Browse files
jplatteemilio
authored andcommitted
Update deprecated methods in builder example
1 parent d611682 commit 725646b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/lib.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -173,8 +173,8 @@ impl Default for CodegenConfig {
173173
///
174174
/// // Configure and generate bindings.
175175
/// let bindings = builder().header("path/to/input/header")
176-
/// .whitelisted_type("SomeCoolClass")
177-
/// .whitelisted_function("do_some_cool_thing")
176+
/// .whitelist_type("SomeCoolClass")
177+
/// .whitelist_function("do_some_cool_thing")
178178
/// .generate()?;
179179
///
180180
/// // Write the generated bindings to an output file.

0 commit comments

Comments
 (0)