diff options
author | Jonas Platte <jplatte@users.noreply.github.com> | 2020-02-18 17:50:03 +0100 |
---|---|---|
committer | Emilio Cobos Álvarez <emilio@crisal.io> | 2020-02-19 12:14:37 +0100 |
commit | 725646b1040a6863ef840dfd10caabdf410dd07b (patch) | |
tree | 4641351aae57aeeff7974c538804fdbd98de2594 /src | |
parent | d61168272d493908cf5b10c7573ab54b280bba03 (diff) |
Update deprecated methods in builder example
Diffstat (limited to 'src')
-rw-r--r-- | src/lib.rs | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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. |