|
1 |
| -// Copyright 2012 The Rust Project Developers. See the COPYRIGHT |
| 1 | +// Copyright 2012-2013 The Rust Project Developers. See the COPYRIGHT |
2 | 2 | // file at the top-level directory of this distribution and at
|
3 | 3 | // http://rust-lang.org/COPYRIGHT.
|
4 | 4 | //
|
@@ -44,13 +44,13 @@ pub trait Program {
|
44 | 44 | /// Returns the process id of the program
|
45 | 45 | fn get_id(&mut self) -> pid_t;
|
46 | 46 |
|
47 |
| - /// Returns an io::writer that can be used to write to stdin |
| 47 | + /// Returns an io::Writer that can be used to write to stdin |
48 | 48 | fn input(&mut self) -> @io::Writer;
|
49 | 49 |
|
50 |
| - /// Returns an io::reader that can be used to read from stdout |
| 50 | + /// Returns an io::Reader that can be used to read from stdout |
51 | 51 | fn output(&mut self) -> @io::Reader;
|
52 | 52 |
|
53 |
| - /// Returns an io::reader that can be used to read from stderr |
| 53 | + /// Returns an io::Reader that can be used to read from stderr |
54 | 54 | fn err(&mut self) -> @io::Reader;
|
55 | 55 |
|
56 | 56 | /// Closes the handle to the child processes standard input
|
@@ -200,9 +200,9 @@ pub fn run_program(prog: &str, args: &[~str]) -> int {
|
200 | 200 | }
|
201 | 201 |
|
202 | 202 | /**
|
203 |
| - * Spawns a process and returns a program |
| 203 | + * Spawns a process and returns a Program |
204 | 204 | *
|
205 |
| - * The returned value is a boxed class containing a <program> object that can |
| 205 | + * The returned value is a boxed class containing a <Program> object that can |
206 | 206 | * be used for sending and receiving data over the standard file descriptors.
|
207 | 207 | * The class will ensure that file descriptors are closed properly.
|
208 | 208 | *
|
|
0 commit comments