Fix more fallout in rustdoc.
This commit is contained in:
parent
138dc3048a
commit
fe96716a2a
@ -77,7 +77,7 @@ fn default_config(input_crate: ~str) -> config {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
type program_output = fn~(~str, ~[~str]) ->
|
type program_output = fn~((&str), (&[~str])) ->
|
||||||
{status: int, out: ~str, err: ~str};
|
{status: int, out: ~str, err: ~str};
|
||||||
|
|
||||||
fn mock_program_output(_prog: ~str, _args: ~[~str]) -> {
|
fn mock_program_output(_prog: ~str, _args: ~[~str]) -> {
|
||||||
|
@ -97,7 +97,7 @@ fn pandoc_writer(
|
|||||||
let pipe_out = os::pipe();
|
let pipe_out = os::pipe();
|
||||||
let pipe_err = os::pipe();
|
let pipe_err = os::pipe();
|
||||||
let pid = run::spawn_process(
|
let pid = run::spawn_process(
|
||||||
pandoc_cmd, pandoc_args, none, none,
|
pandoc_cmd, pandoc_args, &none, &none,
|
||||||
pipe_in.in, pipe_out.out, pipe_err.out);
|
pipe_in.in, pipe_out.out, pipe_err.out);
|
||||||
|
|
||||||
let writer = io::fd_writer(pipe_in.out, false);
|
let writer = io::fd_writer(pipe_in.out, false);
|
||||||
|
Loading…
Reference in New Issue
Block a user