From c3fd12ff4e88321904e4e28949945c23f399da57 Mon Sep 17 00:00:00 2001 From: QuietMisdreavus Date: Tue, 8 May 2018 15:47:44 -0500 Subject: [PATCH] tidy --- src/librustdoc/lib.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/librustdoc/lib.rs b/src/librustdoc/lib.rs index 0acf28a890f2e..b93aaaf031eea 100644 --- a/src/librustdoc/lib.rs +++ b/src/librustdoc/lib.rs @@ -716,7 +716,8 @@ fn check_deprecated_options(matches: &getopts::Matches, diag: &errors::Handler) for flag in deprecated_flags.into_iter() { if matches.opt_present(flag) { - let mut err = diag.struct_warn(&format!("the '{}' flag is considered deprecated", flag)); + let mut err = diag.struct_warn(&format!("the '{}' flag is considered deprecated", + flag)); err.warn("please see https://github.com/rust-lang/rust/issues/44136"); if *flag == "no-defaults" {