Module lint

Source
Expand description

Runs several rustdoc lints, consolidating them into a single pass for efficiency and simplicity.

Modulesยง

bare_urls ๐Ÿ”’
Detects links that are not linkified, e.g., in Markdown such as Go to https://example.com/. Suggests wrapping the link with angle brackets: Go to <https://example.com/>. to linkify it.
check_code_block_syntax ๐Ÿ”’
Validates syntax inside Rust code blocks (```rust).
html_tags ๐Ÿ”’
Detects invalid HTML (like an unclosed <span>) in doc comments.
redundant_explicit_links ๐Ÿ”’
unescaped_backticks ๐Ÿ”’
Detects unescaped backticks (`) in doc comments.

Structsยง

Linter ๐Ÿ”’

Constantsยง

RUN_LINTS ๐Ÿ”’

Functionsยง

run_lints ๐Ÿ”’