codec: implement Clone for LengthDelimitedCodec (#4089)

This commit is contained in:
Pablo Sichert 2021-09-07 13:51:35 +02:00 committed by GitHub
parent 01a6feb0dc
commit 98e78a6f7b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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,