From 60923cb2482c10c3444048615fe6c13c4d5354f0 Mon Sep 17 00:00:00 2001 From: Jiahao XU Date: Thu, 9 May 2024 22:35:31 +1000 Subject: [PATCH] Allow unexpected cfg and fix fmt --- src/lib.rs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/lib.rs b/src/lib.rs index ede0166..40f84a4 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -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)"