Skip to content

Commit aa8a180

Browse files
committed
Disable warnings for unused_doc_comments
1 parent 1e11c63 commit aa8a180

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

documentation/put.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,7 @@ echo "$PRE build Rust docs of crate '$mainCrate' ($features)..."
9191
up=".."
9292

9393
export RUSTFLAGS="--cfg published_docs -A unused_imports -A dead_code -A unexpected_cfgs"
94+
export RUSTDOCFLAGS="-A unused_doc_comments" # Caused by false positives from doc(cfg(...)) attributes
9495
# shellcheck disable=SC2086
9596
cargo +nightly doc -p $mainCrate $features --no-deps --target-dir $up/target
9697
#mkdir -p "$up/target/doc"

0 commit comments

Comments
 (0)