about summary refs log tree commit diff
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2021-11-04 05:12:59 +0000
committerbors <bors@rust-lang.org>2021-11-04 05:12:59 +0000
commit150a65982b1c9a1740fdcbd3f83f07eb68877a4a (patch)
tree499af9dd2c417d8ab0dd70d22f00ebe8b4380fae
parent4d26c5c82cd6fbdfb42fd470df36bdb0e669214d (diff)
parentdf9f5e4b22383fda0eac689aa27bed7633e2b5f5 (diff)
downloadrust-150a65982b1c9a1740fdcbd3f83f07eb68877a4a.tar.gz
rust-150a65982b1c9a1740fdcbd3f83f07eb68877a4a.zip
Auto merge of #7926 - lengyijun:patch-1, r=giraffate
lower_case in  span_lint_and_help document

changelog: none
-rw-r--r--clippy_utils/src/diagnostics.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/clippy_utils/src/diagnostics.rs b/clippy_utils/src/diagnostics.rs
index 9302e5c21fa..d47b002ad7a 100644
--- a/clippy_utils/src/diagnostics.rs
+++ b/clippy_utils/src/diagnostics.rs
@@ -72,7 +72,7 @@ pub fn span_lint<T: LintContext>(cx: &T, lint: &'static Lint, sp: impl Into<Mult
 /// 6  |     let other_f64_nan = 0.0f64 / 0.0;
 ///    |                         ^^^^^^^^^^^^
 ///    |
-///    = help: Consider using `f64::NAN` if you would like a constant representing NaN
+///    = help: consider using `f64::NAN` if you would like a constant representing NaN
 /// ```
 pub fn span_lint_and_help<'a, T: LintContext>(
     cx: &'a T,