Skip to content

Commit ff245da

Browse files
jyn514camelidNemo157
authored
Apply suggestions from code review
Co-authored-by: Camelid <[email protected]> Co-authored-by: Nemo157 <[email protected]>
1 parent d19083d commit ff245da

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/doc/rustdoc/src/lints.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -296,7 +296,7 @@ warning: 2 warnings emitted
296296

297297
## bare_urls
298298

299-
This lint is **nightly-only** and **warns by default**. It detects URLs which are not links.
299+
This lint is **warn-by-default**. It detects URLs which are not links.
300300
For example:
301301

302302
```rust

src/librustdoc/lint.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@ declare_rustdoc_lint! {
148148
}
149149

150150
declare_rustdoc_lint! {
151-
/// The `non_autolinks` lint detects when a URL is not a hyperlink.
151+
/// The `bare_urls` lint detects when a URL is not a hyperlink.
152152
/// This is a `rustdoc` only lint, see the documentation in the [rustdoc book].
153153
///
154154
/// [rustdoc book]: ../../../rustdoc/lints.html#bare_urls

0 commit comments

Comments
 (0)