about summary refs log tree commit diff
path: root/src/libnative/io/process.rs
diff options
context:
space:
mode:
authorAlex Crichton <alex@alexcrichton.com>2014-03-27 15:10:28 -0700
committerAlex Crichton <alex@alexcrichton.com>2014-03-31 15:47:35 -0700
commit14587f88cac89af655e04d573ead2eb5ab4f37a5 (patch)
tree17a5b5ec16166eb27a9148ef9a5d2a2291a8c3f0 /src/libnative/io/process.rs
parent5f33588d75966b939df288cf2125e9906e15cf82 (diff)
downloadrust-14587f88cac89af655e04d573ead2eb5ab4f37a5.tar.gz
rust-14587f88cac89af655e04d573ead2eb5ab4f37a5.zip
native: Switch field privacy as necessary
Diffstat (limited to 'src/libnative/io/process.rs')
-rw-r--r--src/libnative/io/process.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/libnative/io/process.rs b/src/libnative/io/process.rs
index b0f2495e98c..c729473eecd 100644
--- a/src/libnative/io/process.rs
+++ b/src/libnative/io/process.rs
@@ -31,15 +31,15 @@ use super::file;
  */
 pub struct Process {
     /// The unique id of the process (this should never be negative).
-    priv pid: pid_t,
+    pid: pid_t,
 
     /// A handle to the process - on unix this will always be NULL, but on
     /// windows it will be a HANDLE to the process, which will prevent the
     /// pid being re-used until the handle is closed.
-    priv handle: *(),
+    handle: *(),
 
     /// None until finish() is called.
-    priv exit_code: Option<p::ProcessExit>,
+    exit_code: Option<p::ProcessExit>,
 }
 
 impl Process {