Skip to content

Commit 7336626

Browse files
eupnvarkor
andcommitted
Apply suggestions from review by varkor
Co-Authored-By: varkor <[email protected]>
1 parent 1ef1e7f commit 7336626

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

src/librustc/session/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1315,7 +1315,7 @@ fn validate_commandline_args_with_session_available(sess: &Session) {
13151315
sess.target.target.options.is_like_msvc &&
13161316
sess.panic_strategy() == PanicStrategy::Unwind &&
13171317
sess.opts.prints.iter().all(|&p| p == PrintRequest::NativeStaticLibs) {
1318-
sess.err("Profile-guided optimization does not yet work in conjunction \
1318+
sess.err("profile-guided optimization does not yet work in conjunction \
13191319
with `-Cpanic=unwind` on Windows when targeting MSVC. \
13201320
See issue #61002 <https://github.com/rust-lang/rust/issues/61002> for details.");
13211321
}

src/librustdoc/config.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -518,7 +518,7 @@ fn check_deprecated_options(matches: &getopts::Matches, diag: &errors::Handler)
518518
if matches.opt_present(flag) {
519519
let mut err = diag.struct_warn(&format!("the '{}' flag is considered deprecated",
520520
flag));
521-
err.warn("please see issue #44136 <https://github.com/rust-lang/rust/issues/44136>");
521+
err.warn("see issue #44136 <https://github.com/rust-lang/rust/issues/44136>");
522522

523523
if *flag == "no-defaults" {
524524
err.help("you may want to use --document-private-items");

src/librustdoc/core.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -402,7 +402,7 @@ pub fn run_core(options: RustdocOptions) -> (clean::Crate, RenderInfo, RenderOpt
402402
fn report_deprecated_attr(name: &str, diag: &errors::Handler) {
403403
let mut msg = diag.struct_warn(&format!("the `#![doc({})]` attribute is \
404404
considered deprecated", name));
405-
msg.warn("please see issue \
405+
msg.warn("see issue \
406406
#44136 <https://github.com/rust-lang/rust/issues/44136>");
407407

408408
if name == "no_default_passes" {

0 commit comments

Comments
 (0)