From 17faf329e0959e87439656fbac6e3b3d7d292324 Mon Sep 17 00:00:00 2001 From: Aaron Turon Date: Thu, 10 Nov 2016 09:46:23 -0800 Subject: [PATCH] Add note about how to get a Framed --- src/io/frame.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/io/frame.rs b/src/io/frame.rs index 915e26b27..a5ddbd405 100644 --- a/src/io/frame.rs +++ b/src/io/frame.rs @@ -395,6 +395,8 @@ impl Sink for FramedWrite { /// A unified `Stream` and `Sink` interface to an underlying `Io` object, using /// the `Encode` and `Decode` traits to encode and decode frames. +/// +/// You can acquire a `Framd` instance by using the `Io::framed` adapter. pub struct Framed { upstream: T, read_state: ReadState,