Skip to content

Commit fe96716

Browse files
committed
Fix more fallout in rustdoc.
1 parent 138dc30 commit fe96716

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/rustdoc/config.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ fn default_config(input_crate: ~str) -> config {
7777
}
7878
}
7979

80-
type program_output = fn~(~str, ~[~str]) ->
80+
type program_output = fn~((&str), (&[~str])) ->
8181
{status: int, out: ~str, err: ~str};
8282

8383
fn mock_program_output(_prog: ~str, _args: ~[~str]) -> {

src/rustdoc/markdown_writer.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ fn pandoc_writer(
9797
let pipe_out = os::pipe();
9898
let pipe_err = os::pipe();
9999
let pid = run::spawn_process(
100-
pandoc_cmd, pandoc_args, none, none,
100+
pandoc_cmd, pandoc_args, &none, &none,
101101
pipe_in.in, pipe_out.out, pipe_err.out);
102102
103103
let writer = io::fd_writer(pipe_in.out, false);

0 commit comments

Comments
 (0)