Skip to content

Commit 10ac995

Browse files
drop unnecessary "warning" from warning text
1 parent bb6224b commit 10ac995

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/librustdoc/lib.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -649,7 +649,7 @@ where R: 'static + Send,
649649
let diag = core::new_handler(error_format, None);
650650

651651
fn report_deprecated_attr(name: &str, diag: &errors::Handler) {
652-
let mut msg = diag.struct_warn(&format!("WARNING: the `#![doc({})]` attribute is \
652+
let mut msg = diag.struct_warn(&format!("the `#![doc({})]` attribute is \
653653
considered deprecated", name));
654654
msg.warn("please see https://github.com/rust-lang/rust/issues/44136");
655655

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
1-
warning: WARNING: the `#![doc(no_default_passes)]` attribute is considered deprecated
1+
warning: the `#![doc(no_default_passes)]` attribute is considered deprecated
22
|
33
= warning: please see https://github.com/rust-lang/rust/issues/44136
44
= help: you may want to use `#![doc(document_private_items)]`
55

6-
warning: WARNING: the `#![doc(passes = "...")]` attribute is considered deprecated
6+
warning: the `#![doc(passes = "...")]` attribute is considered deprecated
77
|
88
= warning: please see https://github.com/rust-lang/rust/issues/44136
99

0 commit comments

Comments
 (0)