We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8485b5d commit 47eae0fCopy full SHA for 47eae0f
1 file changed
codec/src/codec.rs
@@ -11,10 +11,10 @@ use std::ops::RangeBounds;
11
/// `Clone + Send + 'static`.
12
///
13
/// Use the unit type `()` if no configuration is required for a specific [`Read`] implementation.
14
-pub trait Config: Send + 'static {}
+pub trait Config: Clone + Send + 'static {}
15
16
// Automatically implement `Config` for matching types.
17
-impl<T: Send + 'static> Config for T {}
+impl<T: Clone + Send + 'static> Config for T {}
18
19
/// A marker trait for a [`Config`] type that is also a [`RangeBounds<usize>`].
20
0 commit comments