Skip to content

Commit 100ab4c

Browse files
authored
[Doc] Add missing entry for allowlist-item. (rust-lang#2659)
While playing with bindgen, I noticed that the entry for allowlist-item is missing from the official doc. This patch helps add it. I've checked that the doc for allowlist_* and blocklist_* are correct.
1 parent 7b95673 commit 100ab4c

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Diff for: book/src/allowlisting.md

+2
Original file line numberDiff line numberDiff line change
@@ -20,13 +20,15 @@ transitively used by a definition that matches them.
2020
* [`bindgen::Builder::allowlist_function`](https://docs.rs/bindgen/latest/bindgen/struct.Builder.html#method.allowlist_function)
2121
* [`bindgen::Builder::allowlist_var`](https://docs.rs/bindgen/latest/bindgen/struct.Builder.html#method.allowlist_var)
2222
* [`bindgen::Builder::allowlist_file`](https://docs.rs/bindgen/latest/bindgen/struct.Builder.html#method.allowlist_file)
23+
* [`bindgen::Builder::allowlist_item`](https://docs.rs/bindgen/latest/bindgen/struct.Builder.html#method.allowlist_item)
2324

2425
### Command Line
2526

2627
* `--allowlist-type <type>`
2728
* `--allowlist-function <function>`
2829
* `--allowlist-var <var>`
2930
* `--allowlist-file <path>`
31+
* `--allowlist-item <item>`
3032

3133
### Annotations
3234

0 commit comments

Comments
 (0)