Skip to content

Commit ac4016f

Browse files
committed
rustdoc: Remove a unused variable warning
1 parent d6e583a commit ac4016f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/librustdoc/config.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -262,7 +262,7 @@ fn should_find_pandoc() {
262262
output_format: PandocHtml,
263263
.. default_config(&Path("test"))
264264
};
265-
let mock_program_output: ~fn(&str, &[~str]) -> ProgramOutput = |prog, _| {
265+
let mock_program_output: ~fn(&str, &[~str]) -> ProgramOutput = |_, _| {
266266
ProgramOutput { status: 0, out: ~"pandoc 1.8.2.1", err: ~"" }
267267
};
268268
let result = maybe_find_pandoc(&config, None, mock_program_output);

0 commit comments

Comments
 (0)