diff options
Diffstat (limited to 'src/tools/clippy/src/docs/doc_link_with_quotes.txt')
-rw-r--r-- | src/tools/clippy/src/docs/doc_link_with_quotes.txt | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/src/tools/clippy/src/docs/doc_link_with_quotes.txt b/src/tools/clippy/src/docs/doc_link_with_quotes.txt deleted file mode 100644 index 107c8ac11..000000000 --- a/src/tools/clippy/src/docs/doc_link_with_quotes.txt +++ /dev/null @@ -1,16 +0,0 @@ -### 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() {} -```
\ No newline at end of file |