From c2ed5ebc60f5a259053f53007b90a566efcda06b Mon Sep 17 00:00:00 2001 From: Eric Hagman Date: Wed, 31 Aug 2022 23:21:53 -0400 Subject: [PATCH] Remove .to_string() from F634 error message --- src/checks.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/checks.rs b/src/checks.rs index e5f6b77551..89708db494 100644 --- a/src/checks.rs +++ b/src/checks.rs @@ -131,7 +131,7 @@ impl CheckKind { "f-string without any placeholders".to_string() } CheckKind::IfTuple => { - "If test is a tuple.to_string(), which is always `True`".to_string() + "If test is a tuple, which is always `True`".to_string() } CheckKind::ImportStarUsage => "Unable to detect undefined names".to_string(), CheckKind::LineTooLong => "Line too long".to_string(),