rustdoc: Fix breakage
This commit is contained in:
parent
fe96716a2a
commit
f7b35ebd35
@ -80,7 +80,7 @@ fn default_config(input_crate: ~str) -> config {
|
||||
type program_output = fn~((&str), (&[~str])) ->
|
||||
{status: int, out: ~str, err: ~str};
|
||||
|
||||
fn mock_program_output(_prog: ~str, _args: ~[~str]) -> {
|
||||
fn mock_program_output(_prog: &str, _args: &[~str]) -> {
|
||||
status: int, out: ~str, err: ~str
|
||||
} {
|
||||
{
|
||||
@ -231,7 +231,7 @@ fn should_find_pandoc() {
|
||||
output_format: pandoc_html
|
||||
with default_config(~"test")
|
||||
};
|
||||
let mock_program_output = fn~(_prog: ~str, _args: ~[~str]) -> {
|
||||
let mock_program_output = fn~(_prog: &str, _args: &[~str]) -> {
|
||||
status: int, out: ~str, err: ~str
|
||||
} {
|
||||
{
|
||||
@ -248,7 +248,7 @@ fn should_error_with_no_pandoc() {
|
||||
output_format: pandoc_html
|
||||
with default_config(~"test")
|
||||
};
|
||||
let mock_program_output = fn~(_prog: ~str, _args: ~[~str]) -> {
|
||||
let mock_program_output = fn~(_prog: &str, _args: &[~str]) -> {
|
||||
status: int, out: ~str, err: ~str
|
||||
} {
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user