Skip to content

Commit 445466e

Browse files
carols10centsoliver
and
oliver
committed
Apply suggestions from code review to change "that" to "which"
Co-authored-by: oliver <16816606+o752d@users.noreply.github.com>
1 parent 034244f commit 445466e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

clippy_lints/src/useless_conversion.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ use rustc_span::sym;
1313

1414
declare_clippy_lint! {
1515
/// **What it does:** Checks for `Into`, `TryInto`, `From`, `TryFrom`, or `IntoIter` calls
16-
/// that uselessly convert to the same type.
16+
/// which uselessly convert to the same type.
1717
///
1818
/// **Why is this bad?** Redundant code.
1919
///
@@ -31,7 +31,7 @@ declare_clippy_lint! {
3131
/// ```
3232
pub USELESS_CONVERSION,
3333
complexity,
34-
"calls to `Into`, `TryInto`, `From`, `TryFrom`, or `IntoIter` that perform useless conversions to the same type"
34+
"calls to `Into`, `TryInto`, `From`, `TryFrom`, or `IntoIter` which perform useless conversions to the same type"
3535
}
3636

3737
#[derive(Default)]

0 commit comments

Comments
 (0)