diff options
Diffstat (limited to 'tokio-io/src/codec/encoder.rs')
-rw-r--r-- | tokio-io/src/codec/encoder.rs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tokio-io/src/codec/encoder.rs b/tokio-io/src/codec/encoder.rs index 55056c1c..222990d2 100644 --- a/tokio-io/src/codec/encoder.rs +++ b/tokio-io/src/codec/encoder.rs @@ -3,6 +3,9 @@ use bytes::BytesMut; /// Trait of helper objects to write out messages as bytes, for use with /// `FramedWrite`. + +// Note: We can't deprecate this trait, because the deprecation carries through to tokio-codec, and +// there doesn't seem to be a way to un-deprecate the re-export. pub trait Encoder { /// The type of items consumed by the `Encoder` type Item; |