Apply suggestions from code review to change "that" to "which"

Co-authored-by: oliver <16816606+o752d@users.noreply.github.com>
This commit is contained in:
Carol (Nichols || Goulding) 2020-11-22 10:12:41 -05:00 committed by Carol (Nichols || Goulding)
parent 034244f108
commit 445466e567
No known key found for this signature in database
GPG key ID: D04B39A6CA243902

View file

@ -13,7 +13,7 @@ use rustc_span::sym;
declare_clippy_lint! { declare_clippy_lint! {
/// **What it does:** Checks for `Into`, `TryInto`, `From`, `TryFrom`, or `IntoIter` calls /// **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. /// **Why is this bad?** Redundant code.
/// ///
@ -31,7 +31,7 @@ declare_clippy_lint! {
/// ``` /// ```
pub USELESS_CONVERSION, pub USELESS_CONVERSION,
complexity, 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)] #[derive(Default)]