diff options
Diffstat (limited to 'src/libstd')
| -rw-r--r-- | src/libstd/comm/mod.rs | 2 | ||||
| -rw-r--r-- | src/libstd/comm/select.rs | 1 | ||||
| -rw-r--r-- | src/libstd/io/mod.rs | 2 | ||||
| -rw-r--r-- | src/libstd/str.rs | 2 |
4 files changed, 4 insertions, 3 deletions
diff --git a/src/libstd/comm/mod.rs b/src/libstd/comm/mod.rs index 26d67daf7c1..ebbd51524cb 100644 --- a/src/libstd/comm/mod.rs +++ b/src/libstd/comm/mod.rs @@ -243,7 +243,7 @@ use vec::OwnedVector; use spsc = sync::spsc_queue; use mpsc = sync::mpsc_queue; -pub use self::select::Select; +pub use self::select::{Select, Handle}; macro_rules! test ( { fn $name:ident() $b:block $($a:attr)*} => ( diff --git a/src/libstd/comm/select.rs b/src/libstd/comm/select.rs index 6a10ac56a4e..96c345f3689 100644 --- a/src/libstd/comm/select.rs +++ b/src/libstd/comm/select.rs @@ -89,6 +89,7 @@ pub struct Select { /// This handle is used to keep the port in the set as well as interact with the /// underlying port. pub struct Handle<'port, T> { + /// A unique ID for this Handle. id: uint, priv selector: &'port Select, priv port: &'port mut Port<T>, 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, } diff --git a/src/libstd/str.rs b/src/libstd/str.rs index 22c9ae606d3..c7626105f51 100644 --- a/src/libstd/str.rs +++ b/src/libstd/str.rs @@ -620,7 +620,7 @@ enum NormalizationForm { /// External iterator for a string's normalization's characters. /// Use with the `std::iter` module. #[deriving(Clone)] -struct Normalizations<'a> { +pub struct Normalizations<'a> { priv kind: NormalizationForm, priv iter: Chars<'a>, priv buffer: ~[(char, u8)], |
