Apply suggestions from code review

Co-authored-by: Camelid <camelidcamel@gmail.com>
Co-authored-by: Nemo157 <github@nemo157.com>
This commit is contained in:
Joshua Nelson 2021-04-05 09:25:36 -04:00 committed by GitHub
parent d19083d9da
commit ff245dab41
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -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

View File

@ -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