mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-10-01 14:21:44 +00:00
ide-diagnostics: Fix warnings about clippy str_to_string
rule
This commit is contained in:
parent
eba1b13295
commit
d00f1c1b16
22 changed files with 36 additions and 36 deletions
|
@ -65,7 +65,7 @@ fn method_fix(
|
|||
let FileRange { range, file_id } = ctx.sema.original_range_opt(expr.syntax())?;
|
||||
Some(vec![Assist {
|
||||
id: AssistId("expected-field-found-method-call-fix", AssistKind::QuickFix),
|
||||
label: Label::new("Use parentheses to call the method".to_string()),
|
||||
label: Label::new("Use parentheses to call the method".to_owned()),
|
||||
group: None,
|
||||
target: range,
|
||||
source_change: Some(SourceChange::from_text_edit(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue