Generify doc comment

This commit is contained in:
Tim Kuehn
2016-03-16 20:45:55 -07:00
parent b0495ebc00
commit 6a6832cfbc

View File

@@ -29,9 +29,9 @@ pub trait Listener: Send + 'static {
/// A cloneable Reader/Writer.
pub trait Stream: Read + Write + Send + Sized + 'static {
/// Creates a new independently owned handle to the underlying socket.
/// Creates a new independently owned handle to the Stream.
///
/// The returned TcpStream should reference the same stream that this
/// The returned Stream should reference the same stream that this
/// object references. Both handles should read and write the same
/// stream of data, and options set on one stream should be propagated
/// to the other stream.