diff options
| author | Carol (Nichols || Goulding) <193874+carols10cents@users.noreply.github.com> | 2020-11-22 10:12:41 -0500 |
|---|---|---|
| committer | Carol (Nichols || Goulding) <carol.nichols@gmail.com> | 2020-11-22 10:17:34 -0500 |
| commit | 445466e567c192bb81ccc366743793ffb079da5d (patch) | |
| tree | f8427a98b0acc825cb51437a1aa4ffc025ddc5aa | |
| parent | 034244f1081ee65ce9a258e99cf39baa5d692bca (diff) | |
| download | rust-445466e567c192bb81ccc366743793ffb079da5d.tar.gz rust-445466e567c192bb81ccc366743793ffb079da5d.zip | |
Apply suggestions from code review to change "that" to "which"
Co-authored-by: oliver <16816606+o752d@users.noreply.github.com>
| -rw-r--r-- | clippy_lints/src/useless_conversion.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/clippy_lints/src/useless_conversion.rs b/clippy_lints/src/useless_conversion.rs index 99c38e8f176..efa9c3fab4a 100644 --- a/clippy_lints/src/useless_conversion.rs +++ b/clippy_lints/src/useless_conversion.rs @@ -13,7 +13,7 @@ use rustc_span::sym; declare_clippy_lint! { /// **What it does:** Checks for `Into`, `TryInto`, `From`, `TryFrom`, or `IntoIter` calls - /// that uselessly convert to the same type. + /// which uselessly convert to the same type. /// /// **Why is this bad?** Redundant code. /// @@ -31,7 +31,7 @@ declare_clippy_lint! { /// ``` pub USELESS_CONVERSION, complexity, - "calls to `Into`, `TryInto`, `From`, `TryFrom`, or `IntoIter` that perform useless conversions to the same type" + "calls to `Into`, `TryInto`, `From`, `TryFrom`, or `IntoIter` which perform useless conversions to the same type" } #[derive(Default)] |
