Remove .to_string() from F634 error message

This commit is contained in:
Eric Hagman 2022-08-31 23:21:53 -04:00
parent 64df4eb311
commit c2ed5ebc60
No known key found for this signature in database
GPG Key ID: 4E885BA1B44C1510
1 changed files with 1 additions and 1 deletions

View File

@ -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(),