diff options
| author | lyj <sjtu5140809011@gmail.com> | 2021-11-04 11:57:14 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-11-04 11:57:14 +0800 |
| commit | df9f5e4b22383fda0eac689aa27bed7633e2b5f5 (patch) | |
| tree | 499af9dd2c417d8ab0dd70d22f00ebe8b4380fae | |
| parent | 4d26c5c82cd6fbdfb42fd470df36bdb0e669214d (diff) | |
| download | rust-df9f5e4b22383fda0eac689aa27bed7633e2b5f5.tar.gz rust-df9f5e4b22383fda0eac689aa27bed7633e2b5f5.zip | |
Update diagnostics.rs
| -rw-r--r-- | clippy_utils/src/diagnostics.rs | 2 |
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, |
