ide-diagnostics: Fix warnings about clippy str_to_string rule

This commit is contained in:
Tetsuharu Ohzeki 2024-02-10 00:35:55 +09:00
parent eba1b13295
commit d00f1c1b16
22 changed files with 36 additions and 36 deletions

View file

@ -563,7 +563,7 @@ fn unresolved_fix(id: &'static str, label: &str, target: TextRange) -> Assist {
assert!(!id.contains(' '));
Assist {
id: AssistId(id, AssistKind::QuickFix),
label: Label::new(label.to_string()),
label: Label::new(label.to_owned()),
group: None,
target,
source_change: None,