Encode/Decode -> Codec in docs

This commit is contained in:
Steven Fackler
2016-12-19 22:19:39 -08:00
committed by GitHub
parent b9f7808f6e
commit 24d941d676
+1 -1
View File
@@ -258,7 +258,7 @@ pub trait Codec {
} }
/// A unified `Stream` and `Sink` interface to an underlying `Io` object, using /// A unified `Stream` and `Sink` interface to an underlying `Io` object, using
/// the `Encode` and `Decode` traits to encode and decode frames. /// the `Codec` trait to encode and decode frames.
/// ///
/// You can acquire a `Framed` instance by using the `Io::framed` adapter. /// You can acquire a `Framed` instance by using the `Io::framed` adapter.
pub struct Framed<T, C> { pub struct Framed<T, C> {