diff --git a/src/doc/rustdoc/src/lints.md b/src/doc/rustdoc/src/lints.md index 7a3afb2cfb848..a6626679a7d60 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 fe3102e94f865..1b79811d4b075 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