Skip to content

Commit 97aead0

Browse files
tidy
1 parent d9bf37a commit 97aead0

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

src/librustdoc/lib.rs

+8-2
Original file line numberDiff line numberDiff line change
@@ -535,8 +535,14 @@ fn parse_externs(matches: &getopts::Matches) -> Result<Externs, String> {
535535
/// generated from the cleaned AST of the crate.
536536
///
537537
/// This form of input will run all of the plug/cleaning passes
538-
fn rust_input<R, F>(cratefile: PathBuf, externs: Externs, edition: Edition, matches: &getopts::Matches, f: F) -> R
539-
where R: 'static + Send, F: 'static + Send + FnOnce(Output) -> R {
538+
fn rust_input<R, F>(cratefile: PathBuf,
539+
externs: Externs,
540+
edition: Edition,
541+
matches: &getopts::Matches,
542+
f: F) -> R
543+
where R: 'static + Send,
544+
F: 'static + Send + FnOnce(Output) -> R
545+
{
540546
let mut default_passes = !matches.opt_present("no-defaults");
541547
let mut passes = matches.opt_strs("passes");
542548
let mut plugins = matches.opt_strs("plugins");

0 commit comments

Comments
 (0)