summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJonas Platte <jplatte@users.noreply.github.com>2020-02-18 17:50:03 +0100
committerEmilio Cobos Álvarez <emilio@crisal.io>2020-02-19 12:14:37 +0100
commit725646b1040a6863ef840dfd10caabdf410dd07b (patch)
tree4641351aae57aeeff7974c538804fdbd98de2594 /src
parentd61168272d493908cf5b10c7573ab54b280bba03 (diff)
Update deprecated methods in builder example
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.