From 0aef487a5c2797b34e64ddcfa3974264fbc9830b Mon Sep 17 00:00:00 2001 From: Huon Wilson Date: Sun, 26 Jan 2014 13:25:02 +1100 Subject: std,extra: Make some types public and other private. These are either returned from public functions, and really should appear in the documentation, but don't since they're private, or are implementation details that are currently public. --- src/libstd/io/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/libstd/io') diff --git a/src/libstd/io/mod.rs b/src/libstd/io/mod.rs index 30827983360..3b1c45d7527 100644 --- a/src/libstd/io/mod.rs +++ b/src/libstd/io/mod.rs @@ -1268,7 +1268,7 @@ pub trait Acceptor { /// The Some contains another Option representing whether the connection attempt was succesful. /// A successful connection will be wrapped in Some. /// A failed connection is represented as a None and raises a condition. -struct IncomingConnections<'a, A> { +pub struct IncomingConnections<'a, A> { priv inc: &'a mut A, } -- cgit 1.4.1-3-g733a5