chore: fix new manual_non_exhaustive clippy lint (#2669)

Our minimum supported Rust version does not allow switching to `#[non_exhaustive]`.
This commit is contained in:
Alice Ryhl
2020-07-20 09:23:19 -07:00
committed by GitHub
parent 7e4edb8963
commit b094ee90e2
+1
View File
@@ -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,