Skip to content

Commit

Permalink
Allow unexpected cfg and fix fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
NobodyXu authored May 9, 2024
1 parent df43e52 commit 60923cb
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,7 @@
//! ---------|------
// TODO: Kill rustfmt on this section, `#![rustfmt::skip::attributes(cfg_attr)]` should do it, but
// that's unstable
#![warn(unexpected_cfgs)]

#![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 60923cb

Please sign in to comment.