Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 2 additions & 8 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I feel like this line was important for something... There's a builder that has docs exposed but otherwise the type is unnameable, and I added this to catch that all methods were documented correctly. I think?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Migrated this checking to the building document process. It could be detected as https://github.com/seanmonstar/warp/actions/runs/18195955801/job/51802257485#step:4:202.


- 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"
2 changes: 1 addition & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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
//!
Expand Down