diff options
| author | Huon Wilson <dbau.pp+github@gmail.com> | 2014-01-26 13:25:02 +1100 |
|---|---|---|
| committer | Huon Wilson <dbau.pp+github@gmail.com> | 2014-01-26 13:33:05 +1100 |
| commit | 0aef487a5c2797b34e64ddcfa3974264fbc9830b (patch) | |
| tree | 9633f80b156d69af708248edd37a0dc7d66b701e /src/libstd/io | |
| parent | 6516b303b5f35e81350cccdf6629766e2b0a027e (diff) | |
| download | rust-0aef487a5c2797b34e64ddcfa3974264fbc9830b.tar.gz rust-0aef487a5c2797b34e64ddcfa3974264fbc9830b.zip | |
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.
Diffstat (limited to 'src/libstd/io')
| -rw-r--r-- | src/libstd/io/mod.rs | 2 |
1 files changed, 1 insertions, 1 deletions
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<T> { /// 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, } |
