mirror of
https://github.com/rust-lang/rust-clippy
synced 2024-09-21 15:11:56 +00:00
Fix typo in adding_lints.md
This commit is contained in:
parent
a6b3a403ac
commit
edfa13da4a
1 changed files with 1 additions and 1 deletions
|
@ -311,7 +311,7 @@ Running our UI test should now produce output that contains the lint message.
|
||||||
According to [the rustc-dev-guide], the text should be matter of fact and avoid
|
According to [the rustc-dev-guide], the text should be matter of fact and avoid
|
||||||
capitalization and periods, unless multiple sentences are needed.
|
capitalization and periods, unless multiple sentences are needed.
|
||||||
When code or an identifier must appear in a message or label, it should be
|
When code or an identifier must appear in a message or label, it should be
|
||||||
surrounded with single acute accents \`.
|
surrounded with single grave accents \`.
|
||||||
|
|
||||||
[check_fn]: https://doc.rust-lang.org/nightly/nightly-rustc/rustc_lint/trait.EarlyLintPass.html#method.check_fn
|
[check_fn]: https://doc.rust-lang.org/nightly/nightly-rustc/rustc_lint/trait.EarlyLintPass.html#method.check_fn
|
||||||
[diagnostics]: https://github.com/rust-lang/rust-clippy/blob/master/clippy_lints/src/utils/diagnostics.rs
|
[diagnostics]: https://github.com/rust-lang/rust-clippy/blob/master/clippy_lints/src/utils/diagnostics.rs
|
||||||
|
|
Loading…
Reference in a new issue