Skip to content

Commit cb766be

Browse files
committed
zephyr-sys: Suppress bad links in bindgen doc comments
Avoid generating build warnings about things that look like links in bindgen copied rustdocs. The larger problem is that these are in a different syntax than rustdoc comments, and will not be formatted nicely. Signed-off-by: David Brown <[email protected]>
1 parent f958ce6 commit cb766be

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

zephyr-sys/src/lib.rs

+1
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@
1818
#![allow(improper_ctypes)]
1919

2020
#![allow(rustdoc::broken_intra_doc_links)]
21+
#![allow(rustdoc::bare_urls)]
2122

2223
include!(concat!(env!("OUT_DIR"), "/bindings.rs"));
2324

0 commit comments

Comments
 (0)