about summary refs log tree commit diff
diff options
context:
space:
mode:
authorlyj <sjtu5140809011@gmail.com>2021-11-04 11:57:14 +0800
committerGitHub <noreply@github.com>2021-11-04 11:57:14 +0800
commitdf9f5e4b22383fda0eac689aa27bed7633e2b5f5 (patch)
tree499af9dd2c417d8ab0dd70d22f00ebe8b4380fae
parent4d26c5c82cd6fbdfb42fd470df36bdb0e669214d (diff)
downloadrust-df9f5e4b22383fda0eac689aa27bed7633e2b5f5.tar.gz
rust-df9f5e4b22383fda0eac689aa27bed7633e2b5f5.zip
Update diagnostics.rs
-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,