diff options
Diffstat (limited to 'src/libstd')
| -rw-r--r-- | src/libstd/hash.rs | 1 | ||||
| -rw-r--r-- | src/libstd/rt/mpmc_bounded_queue.rs | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/src/libstd/hash.rs b/src/libstd/hash.rs index a135d66141a..4782bb5dd13 100644 --- a/src/libstd/hash.rs +++ b/src/libstd/hash.rs @@ -303,6 +303,7 @@ impl Streaming for SipState { mod tests { use super::*; use prelude::*; + use super::SipState; // Hash just the bytes of the slice, without length prefix struct Bytes<'a>(&'a [u8]); diff --git a/src/libstd/rt/mpmc_bounded_queue.rs b/src/libstd/rt/mpmc_bounded_queue.rs index 1e04e5eb78d..25a3ba8ab48 100644 --- a/src/libstd/rt/mpmc_bounded_queue.rs +++ b/src/libstd/rt/mpmc_bounded_queue.rs @@ -51,7 +51,7 @@ struct State<T> { pad3: [u8, ..64], } -struct Queue<T> { +pub struct Queue<T> { priv state: UnsafeArc<State<T>>, } |
