diff options
| author | Joshua Nelson <jyn514@gmail.com> | 2021-04-05 09:25:36 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-04-05 09:25:36 -0400 |
| commit | ff245dab413e0ae2dced431392a54755b57e6491 (patch) | |
| tree | 5cfd945e19ca5620d6198ea58845921d32f01ed3 /src | |
| parent | d19083d9da626080cb4617caa9be8f234a9a80fa (diff) | |
| download | rust-ff245dab413e0ae2dced431392a54755b57e6491.tar.gz rust-ff245dab413e0ae2dced431392a54755b57e6491.zip | |
Apply suggestions from code review
Co-authored-by: Camelid <camelidcamel@gmail.com> Co-authored-by: Nemo157 <github@nemo157.com>
Diffstat (limited to 'src')
| -rw-r--r-- | src/doc/rustdoc/src/lints.md | 2 | ||||
| -rw-r--r-- | src/librustdoc/lint.rs | 2 |
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 |
