summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/lib.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib.rs b/src/lib.rs
index 4a8b8d8a..f5c58cd5 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -173,8 +173,8 @@ impl Default for CodegenConfig {
///
/// // Configure and generate bindings.
/// let bindings = builder().header("path/to/input/header")
-/// .whitelisted_type("SomeCoolClass")
-/// .whitelisted_function("do_some_cool_thing")
+/// .whitelist_type("SomeCoolClass")
+/// .whitelist_function("do_some_cool_thing")
/// .generate()?;
///
/// // Write the generated bindings to an output file.