Skip to content

Commit

Permalink
Auto merge of #6276 - dp304:patch-1, r=llogiq
Browse files Browse the repository at this point in the history
Fix typo in adding_lints.md

changelog: none
  • Loading branch information
bors committed Oct 31, 2020
2 parents a6b3a40 + edfa13d commit e298c83
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doc/adding_lints.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
capitalization and periods, unless multiple sentences are needed.
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
[diagnostics]: https://github.com/rust-lang/rust-clippy/blob/master/clippy_lints/src/utils/diagnostics.rs
Expand Down

0 comments on commit e298c83

Please sign in to comment.