about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--src/doc/rustdoc/src/lints.md2
-rw-r--r--src/librustdoc/lint.rs2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/doc/rustdoc/src/lints.md b/src/doc/rustdoc/src/lints.md
index 7a3afb2cfb8..a6626679a7d 100644
--- a/src/doc/rustdoc/src/lints.md
+++ b/src/doc/rustdoc/src/lints.md
@@ -296,7 +296,7 @@ warning: 2 warnings emitted
 
 ## bare_urls
 
-This lint is **nightly-only** and **warns by default**. It detects URLs which are not links.
+This lint is **warn-by-default**. It detects URLs which are not links.
 For example:
 
 ```rust
diff --git a/src/librustdoc/lint.rs b/src/librustdoc/lint.rs
index fe3102e94f8..1b79811d4b0 100644
--- a/src/librustdoc/lint.rs
+++ b/src/librustdoc/lint.rs
@@ -148,7 +148,7 @@ declare_rustdoc_lint! {
 }
 
 declare_rustdoc_lint! {
-    /// The `non_autolinks` lint detects when a URL is not a hyperlink.
+    /// The `bare_urls` lint detects when a URL is not a hyperlink.
     /// This is a `rustdoc` only lint, see the documentation in the [rustdoc book].
     ///
     /// [rustdoc book]: ../../../rustdoc/lints.html#bare_urls