From b094ee90e2dc18ffcdeed9a797fab76e5e8014c2 Mon Sep 17 00:00:00 2001 From: Alice Ryhl Date: Mon, 20 Jul 2020 18:23:19 +0200 Subject: chore: fix new manual_non_exhaustive clippy lint (#2669) Our minimum supported Rust version does not allow switching to `#[non_exhaustive]`. --- tokio-util/src/codec/framed.rs | 1 + 1 file changed, 1 insertion(+) (limited to 'tokio-util') diff --git a/tokio-util/src/codec/framed.rs b/tokio-util/src/codec/framed.rs index b23f9386..36370da2 100644 --- a/tokio-util/src/codec/framed.rs +++ b/tokio-util/src/codec/framed.rs @@ -284,6 +284,7 @@ where /// /// [`Framed`]: crate::codec::Framed #[derive(Debug)] +#[allow(clippy::manual_non_exhaustive)] pub struct FramedParts { /// The inner transport used to read bytes to and write bytes to pub io: T, -- cgit v1.2.3