Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: Camelid <camelidcamel@gmail.com>
Co-authored-by: Nemo157 <github@nemo157.com>
  • Loading branch information
3 people committed Apr 5, 2021
1 parent d19083d commit ff245da
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/doc/rustdoc/src/lints.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion src/librustdoc/lint.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit ff245da

Please sign in to comment.