diff options
| author | Cameron Steffen <cam.steffen94@gmail.com> | 2021-10-02 18:51:01 -0500 |
|---|---|---|
| committer | Cameron Steffen <cam.steffen94@gmail.com> | 2021-10-02 19:38:19 -0500 |
| commit | e165c129324c48a54d321b2dd77e2ff4c7ee9739 (patch) | |
| tree | 5e61755ae5b692c1e5ce69f0c5d99e3a63325831 /clippy_lints/src/methods/inefficient_to_string.rs | |
| parent | 2cb37a19110be1f80133a336acae2072ea8e310d (diff) | |
Make diangostic item names consistent
Diffstat (limited to 'clippy_lints/src/methods/inefficient_to_string.rs')
| -rw-r--r-- | clippy_lints/src/methods/inefficient_to_string.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clippy_lints/src/methods/inefficient_to_string.rs b/clippy_lints/src/methods/inefficient_to_string.rs index 950ec62c9fe..c0f66feb48a 100644 --- a/clippy_lints/src/methods/inefficient_to_string.rs +++ b/clippy_lints/src/methods/inefficient_to_string.rs @@ -55,7 +55,7 @@ fn specializes_tostring(cx: &LateContext<'_>, ty: Ty<'_>) -> bool { return true; } - if is_type_diagnostic_item(cx, ty, sym::string_type) { + if is_type_diagnostic_item(cx, ty, sym::String) { return true; } |
