Skip to content

Commit f7095ba

Browse files
authored
Fix pipeline doc: Warn on unexpected cfgs instead of error (#276)
* Fix pipeline doc: Warn on unexpected cfgs instead of error * Allow unexpected cfg and fix fmt
1 parent c86e54d commit f7095ba

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/lib.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@
2929
//! ---------|------
3030
// TODO: Kill rustfmt on this section, `#![rustfmt::skip::attributes(cfg_attr)]` should do it, but
3131
// that's unstable
32+
#![allow(unexpected_cfgs)]
3233
#![cfg_attr(
3334
feature = "futures-io",
3435
doc = "[`futures-io`](crate::futures) | [`futures::io::AsyncBufRead`](futures_io::AsyncBufRead), [`futures::io::AsyncWrite`](futures_io::AsyncWrite)"

0 commit comments

Comments
 (0)