1
Fork 0

Add documentation for automatic_links lint

This commit is contained in:
Guillaume Gomez 2020-10-12 18:29:38 +02:00
parent 2980367030
commit a54f043733
2 changed files with 43 additions and 3 deletions

View file

@ -1892,13 +1892,13 @@ declare_lint! {
declare_lint! {
/// The `automatic_links` lint detects when a URL/email address could be
/// written using only brackets. This is a `rustdoc` only lint, see the
/// documentation in the [rustdoc book].
/// written using only angle brackets. This is a `rustdoc` only lint, see
/// the documentation in the [rustdoc book].
///
/// [rustdoc book]: ../../../rustdoc/lints.html#automatic_links
pub AUTOMATIC_LINKS,
Allow,
"detects URLs/email adresses that could be written using only brackets"
"detects URLs/email adresses that could be written using only angle brackets"
}
declare_lint! {