Rename lint to non_autolinks
This commit is contained in:
parent
6be97e2250
commit
9d114506c6
9 changed files with 38 additions and 37 deletions
|
@ -1891,12 +1891,12 @@ declare_lint! {
|
|||
}
|
||||
|
||||
declare_lint! {
|
||||
/// The `url_improvements` lint detects when a URL could be written using
|
||||
/// The `non_autolinks` lint detects when a URL could be written using
|
||||
/// only angle brackets. This is a `rustdoc` only lint, see the
|
||||
/// documentation in the [rustdoc book].
|
||||
///
|
||||
/// [rustdoc book]: ../../../rustdoc/lints.html#url_improvements
|
||||
pub URL_IMPROVEMENTS,
|
||||
/// [rustdoc book]: ../../../rustdoc/lints.html#non_autolinks
|
||||
pub NON_AUTOLINKS,
|
||||
Warn,
|
||||
"detects URLs that could be written using only angle brackets"
|
||||
}
|
||||
|
@ -2806,7 +2806,7 @@ declare_lint_pass! {
|
|||
MISSING_DOC_CODE_EXAMPLES,
|
||||
INVALID_HTML_TAGS,
|
||||
PRIVATE_DOC_TESTS,
|
||||
URL_IMPROVEMENTS,
|
||||
NON_AUTOLINKS,
|
||||
WHERE_CLAUSES_OBJECT_SAFETY,
|
||||
PROC_MACRO_DERIVE_RESOLUTION_FALLBACK,
|
||||
MACRO_USE_EXTERN_CRATE,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue