RS.CLIPPY.DOC_LINK_WITH_QUOTES
Possible typo for an intra-doc link
This checker is a Clippy lint created by The Rust Project Contributors. The documentation shown here is a copy of the original documentation for: doc_link_with_quotes. Copyright ©2025 The Rust Team. All rights reserved.
What it does
Detects the syntax [\'foo\'] in documentation comments (notice quotes instead of backticks)
outside of code blocks
Why is this bad?
It is likely a typo when defining an intra-doc link
Example
/// See also: [\'foo\']
fn bar() {}
Use instead:
/// See also: [`foo`]
fn bar() {}