about summary refs log tree commit diff
path: root/src/libextra
diff options
context:
space:
mode:
authorAlex Crichton <alex@alexcrichton.com>2014-01-24 11:02:03 -0800
committerAlex Crichton <alex@alexcrichton.com>2014-01-26 11:03:13 -0800
commit4d6836f418e35de76ca072092372cbd55b01867a (patch)
tree9b4bb81d4a7f82a08ede485f30a6eee9487e361c /src/libextra
parent31ac9c4288f32c2afdce11e616668b251e6164ef (diff)
downloadrust-4d6836f418e35de76ca072092372cbd55b01867a.tar.gz
rust-4d6836f418e35de76ca072092372cbd55b01867a.zip
Fix privacy fallout from previous change
Diffstat (limited to 'src/libextra')
-rw-r--r--src/libextra/arc.rs4
-rw-r--r--src/libextra/dlist.rs8
-rw-r--r--src/libextra/lru_cache.rs10
-rw-r--r--src/libextra/sync.rs4
4 files changed, 13 insertions, 13 deletions
diff --git a/src/libextra/arc.rs b/src/libextra/arc.rs
index a411c4e9185..f914fa1ac09 100644
--- a/src/libextra/arc.rs
+++ b/src/libextra/arc.rs
@@ -148,7 +148,7 @@ impl<T:Freeze + Send> Clone for Arc<T> {
  ****************************************************************************/
 
 #[doc(hidden)]
-struct MutexArcInner<T> { priv lock: Mutex, priv failed: bool, priv data: T }
+struct MutexArcInner<T> { lock: Mutex, failed: bool, data: T }
 
 /// An Arc with mutable data protected by a blocking mutex.
 #[no_freeze]
@@ -312,7 +312,7 @@ impl PoisonOnFail {
  ****************************************************************************/
 
 #[doc(hidden)]
-struct RWArcInner<T> { priv lock: RWLock, priv failed: bool, priv data: T }
+struct RWArcInner<T> { lock: RWLock, failed: bool, data: T }
 /**
  * A dual-mode Arc protected by a reader-writer lock. The data can be accessed
  * mutably or immutably, and immutably-accessing tasks may run concurrently.
diff --git a/src/libextra/dlist.rs b/src/libextra/dlist.rs
index fa6e7c15ee0..32079788942 100644
--- a/src/libextra/dlist.rs
+++ b/src/libextra/dlist.rs
@@ -38,12 +38,12 @@ pub struct DList<T> {
 }
 
 type Link<T> = Option<~Node<T>>;
-struct Rawlink<T> { priv p: *mut T }
+struct Rawlink<T> { p: *mut T }
 
 struct Node<T> {
-    priv next: Link<T>,
-    priv prev: Rawlink<Node<T>>,
-    priv value: T,
+    next: Link<T>,
+    prev: Rawlink<Node<T>>,
+    value: T,
 }
 
 /// Double-ended DList iterator
diff --git a/src/libextra/lru_cache.rs b/src/libextra/lru_cache.rs
index e1cb54ae452..f602db2e54d 100644
--- a/src/libextra/lru_cache.rs
+++ b/src/libextra/lru_cache.rs
@@ -43,13 +43,13 @@ use std::to_bytes::Cb;
 use std::ptr;
 use std::cast;
 
-struct KeyRef<K> { priv k: *K }
+struct KeyRef<K> { k: *K }
 
 struct LruEntry<K, V> {
-    priv key: Option<K>,
-    priv value: Option<V>,
-    priv next: *mut LruEntry<K, V>,
-    priv prev: *mut LruEntry<K, V>,
+    key: Option<K>,
+    value: Option<V>,
+    next: *mut LruEntry<K, V>,
+    prev: *mut LruEntry<K, V>,
 }
 
 /// An LRU Cache.
diff --git a/src/libextra/sync.rs b/src/libextra/sync.rs
index c4277bddac7..9aefb6eaf76 100644
--- a/src/libextra/sync.rs
+++ b/src/libextra/sync.rs
@@ -709,8 +709,8 @@ pub struct Barrier {
 
 // The inner state of a double barrier
 struct BarrierState {
-    priv count: uint,
-    priv generation_id: uint,
+    count: uint,
+    generation_id: uint,
 }
 
 impl Barrier {