We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ceeffa1 commit 62befacCopy full SHA for 62befac
src/libcore/os.rs
@@ -30,7 +30,7 @@ use cast;
30
use io;
31
use libc;
32
use libc::{c_char, c_void, c_int, size_t};
33
-use libc::{mode_t, pid_t, FILE};
+use libc::{mode_t, FILE};
34
use option;
35
use option::{Some, None};
36
use prelude::*;
src/libcore/run.rs
@@ -18,7 +18,6 @@ use option::{Some, None};
18
use os;
19
20
use ptr;
21
-use run;
22
use str;
23
use task;
24
use vec;
@@ -377,7 +376,7 @@ pub fn start_program(prog: &str, args: &[~str]) -> @Program {
377
376
fn force_destroy(&mut self) { destroy_repr(&mut self.r, true); }
378
}
379
380
- let mut repr = ProgRepr {
+ let repr = ProgRepr {
381
pid: res.pid,
382
handle: res.handle,
383
in_fd: pipe_input.out,
0 commit comments