about summary refs log tree commit diff
path: root/src/libstd/rt/thread.rs
diff options
context:
space:
mode:
authorAlex Crichton <alex@alexcrichton.com>2014-03-27 15:09:47 -0700
committerAlex Crichton <alex@alexcrichton.com>2014-03-31 15:17:12 -0700
commit9a3d04ae7629f6f273643b3a14f106726842be6a (patch)
tree7d8d5fc852d9256b31c7ac892ab3df07f0cfe62c /src/libstd/rt/thread.rs
parentf2a5c7a179ab0fc0e415918c1fc5d280a9e02ede (diff)
downloadrust-9a3d04ae7629f6f273643b3a14f106726842be6a.tar.gz
rust-9a3d04ae7629f6f273643b3a14f106726842be6a.zip
std: Switch field privacy as necessary
Diffstat (limited to 'src/libstd/rt/thread.rs')
-rw-r--r--src/libstd/rt/thread.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/libstd/rt/thread.rs b/src/libstd/rt/thread.rs
index 1802016e3b3..c35ffac064c 100644
--- a/src/libstd/rt/thread.rs
+++ b/src/libstd/rt/thread.rs
@@ -28,9 +28,9 @@ type StartFn = extern "C" fn(*libc::c_void) -> imp::rust_thread_return;
 /// This struct represents a native thread's state. This is used to join on an
 /// existing thread created in the join-able state.
 pub struct Thread<T> {
-    priv native: imp::rust_thread,
-    priv joined: bool,
-    priv packet: ~Option<T>,
+    native: imp::rust_thread,
+    joined: bool,
+    packet: ~Option<T>,
 }
 
 static DEFAULT_STACK_SIZE: uint = 1024 * 1024;