diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 6785b480..e271dcf9 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -86,13 +86,7 @@ jobs: - name: Install Rust uses: dtolnay/rust-toolchain@nightly - # check for missing docs - - name: cargo check - run: cargo check --all-features - env: - RUSTFLAGS: "--cfg docsrs" - - name: cargo doc - run: cargo rustdoc --all-features -- -D 'rustdoc::broken_intra_doc_links' + run: cargo doc --all-features --no-deps env: - RUSTFLAGS: "--cfg docsrs" + RUSTDOCFLAGS: "--cfg docsrs -D rustdoc::broken_intra_doc_links" diff --git a/src/lib.rs b/src/lib.rs index 7cc85641..c59c05c8 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -2,7 +2,7 @@ #![deny(missing_debug_implementations)] #![deny(rust_2018_idioms)] #![cfg_attr(test, deny(warnings))] -#![cfg_attr(docsrs, feature(doc_auto_cfg))] +#![cfg_attr(docsrs, feature(doc_cfg))] //! # warp //!