From 6a6832cfbceb4533e0e46229445190c2d1edba68 Mon Sep 17 00:00:00 2001 From: Tim Kuehn Date: Wed, 16 Mar 2016 20:45:55 -0700 Subject: [PATCH] Generify doc comment --- tarpc/src/transport/mod.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tarpc/src/transport/mod.rs b/tarpc/src/transport/mod.rs index f666d10..6b367ee 100644 --- a/tarpc/src/transport/mod.rs +++ b/tarpc/src/transport/mod.rs @@ -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.