Skip to content

Commit

Permalink
Fix pipeline doc: Warn on unexpected cfgs instead of error
Browse files Browse the repository at this point in the history
  • Loading branch information
NobodyXu authored May 9, 2024
1 parent c86e54d commit df43e52
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,8 @@
//! ---------|------
// TODO: Kill rustfmt on this section, `#![rustfmt::skip::attributes(cfg_attr)]` should do it, but

Check warning on line 30 in src/lib.rs

View workflow job for this annotation

GitHub Actions / cargo fmt --check

Diff in /home/runner/work/async-compression/async-compression/src/lib.rs
// that's unstable
#![warn(unexpected_cfgs)]

#![cfg_attr(
feature = "futures-io",
doc = "[`futures-io`](crate::futures) | [`futures::io::AsyncBufRead`](futures_io::AsyncBufRead), [`futures::io::AsyncWrite`](futures_io::AsyncWrite)"
Expand Down

0 comments on commit df43e52

Please sign in to comment.