Skip to content

Commit 7cfdf76

Browse files
authored
doc: Replace doc_auto_cfg with doc_cfg (#609)
1 parent 50beeaf commit 7cfdf76

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.github/workflows/CI.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,11 +18,11 @@ jobs:
1818
runs-on: ubuntu-latest
1919
steps:
2020
- uses: actions/checkout@v5
21-
- uses: dtolnay/rust-toolchain@stable
21+
- uses: dtolnay/rust-toolchain@nightly
2222
- name: cargo doc
2323
working-directory: ${{ matrix.subcrate }}
2424
env:
25-
RUSTDOCFLAGS: "-D rustdoc::broken_intra_doc_links"
25+
RUSTDOCFLAGS: "-D rustdoc::broken_intra_doc_links --cfg docsrs"
2626
run: cargo doc --all-features --no-deps
2727

2828
cargo-hack:

tower-http/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -216,7 +216,7 @@
216216
clippy::type_complexity
217217
)]
218218
#![forbid(unsafe_code)]
219-
#![cfg_attr(docsrs, feature(doc_auto_cfg))]
219+
#![cfg_attr(docsrs, feature(doc_cfg))]
220220
#![cfg_attr(test, allow(clippy::float_cmp))]
221221

222222
#[macro_use]

0 commit comments

Comments
 (0)