mirror of
https://github.com/tokio-rs/tokio.git
synced 2026-08-27 00:00:12 +02:00
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:
@@ -284,6 +284,7 @@ where
|
|||||||
///
|
///
|
||||||
/// [`Framed`]: crate::codec::Framed
|
/// [`Framed`]: crate::codec::Framed
|
||||||
#[derive(Debug)]
|
#[derive(Debug)]
|
||||||
|
#[allow(clippy::manual_non_exhaustive)]
|
||||||
pub struct FramedParts<T, U> {
|
pub struct FramedParts<T, U> {
|
||||||
/// The inner transport used to read bytes to and write bytes to
|
/// The inner transport used to read bytes to and write bytes to
|
||||||
pub io: T,
|
pub io: T,
|
||||||
|
|||||||
Reference in New Issue
Block a user