diff --git a/tokio-util/src/codec/length_delimited.rs b/tokio-util/src/codec/length_delimited.rs index 94a547d12..7135d7ce4 100644 --- a/tokio-util/src/codec/length_delimited.rs +++ b/tokio-util/src/codec/length_delimited.rs @@ -421,7 +421,7 @@ pub struct LengthDelimitedCodecError { /// See [module level] documentation for more detail. /// /// [module level]: index.html -#[derive(Debug)] +#[derive(Debug, Clone)] pub struct LengthDelimitedCodec { // Configuration values builder: Builder,