Skip to content

Commit

Permalink
tidy
Browse files Browse the repository at this point in the history
  • Loading branch information
QuietMisdreavus committed May 14, 2018
1 parent 6bc1db0 commit c3fd12f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/librustdoc/lib.rs
Expand Up @@ -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" {
Expand Down

0 comments on commit c3fd12f

Please sign in to comment.