From 100ab4c6c86a0dfa2a3d075457c5b50e5feb80e7 Mon Sep 17 00:00:00 2001 From: Xing Guo Date: Mon, 9 Oct 2023 21:38:05 +0800 Subject: [PATCH] [Doc] Add missing entry for allowlist-item. (#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. --- book/src/allowlisting.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/book/src/allowlisting.md b/book/src/allowlisting.md index edf93df0ef..99dd169865 100644 --- a/book/src/allowlisting.md +++ b/book/src/allowlisting.md @@ -20,6 +20,7 @@ transitively used by a definition that matches them. * [`bindgen::Builder::allowlist_function`](https://docs.rs/bindgen/latest/bindgen/struct.Builder.html#method.allowlist_function) * [`bindgen::Builder::allowlist_var`](https://docs.rs/bindgen/latest/bindgen/struct.Builder.html#method.allowlist_var) * [`bindgen::Builder::allowlist_file`](https://docs.rs/bindgen/latest/bindgen/struct.Builder.html#method.allowlist_file) +* [`bindgen::Builder::allowlist_item`](https://docs.rs/bindgen/latest/bindgen/struct.Builder.html#method.allowlist_item) ### Command Line @@ -27,6 +28,7 @@ transitively used by a definition that matches them. * `--allowlist-function ` * `--allowlist-var ` * `--allowlist-file ` +* `--allowlist-item ` ### Annotations