Skip to content

Commit

Permalink
Fix pipeline doc: Warn on unexpected cfgs instead of error (#276)
Browse files Browse the repository at this point in the history
* Fix pipeline doc: Warn on unexpected cfgs instead of error

* Allow unexpected cfg and fix fmt
  • Loading branch information
NobodyXu authored May 9, 2024
1 parent c86e54d commit f7095ba
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@
//! ---------|------
// TODO: Kill rustfmt on this section, `#![rustfmt::skip::attributes(cfg_attr)]` should do it, but
// that's unstable
#![allow(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 f7095ba

Please sign in to comment.