diff options
author | Alice Ryhl <alice@ryhl.io> | 2020-07-20 18:23:19 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-07-20 09:23:19 -0700 |
commit | b094ee90e2dc18ffcdeed9a797fab76e5e8014c2 (patch) | |
tree | e9dec2e5d5ba5d4165bfb4b9c31d8149a7625c6f /tokio-util | |
parent | 7e4edb89638065a041c1093b292f709d1f2190a0 (diff) |
chore: fix new manual_non_exhaustive clippy lint (#2669)
Our minimum supported Rust version does not allow switching to `#[non_exhaustive]`.
Diffstat (limited to 'tokio-util')
-rw-r--r-- | tokio-util/src/codec/framed.rs | 1 |
1 files changed, 1 insertions, 0 deletions
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<T, U> { /// The inner transport used to read bytes to and write bytes to pub io: T, |