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.
This commit is contained in:
Huon Wilson 2014-01-26 13:25:02 +11:00
parent 6516b303b5
commit 0aef487a5c
7 changed files with 16 additions and 14 deletions

View file

@ -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,
}