Fix more fallout in rustdoc.

This commit is contained in:
Graydon Hoare 2012-08-14 14:27:13 -07:00
parent 138dc3048a
commit fe96716a2a
2 changed files with 2 additions and 2 deletions

View File

@ -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]) -> {

View File

@ -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);