mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-28 04:44:57 +00:00
mbe: Fix warnings about clippy str_to_string
rule
This commit is contained in:
parent
80713250c5
commit
edda6b8a1f
1 changed files with 1 additions and 1 deletions
|
@ -146,7 +146,7 @@ where
|
|||
}
|
||||
parser::Step::Enter { kind } => tree_sink.start_node(kind),
|
||||
parser::Step::Exit => tree_sink.finish_node(),
|
||||
parser::Step::Error { msg } => tree_sink.error(msg.to_string()),
|
||||
parser::Step::Error { msg } => tree_sink.error(msg.to_owned()),
|
||||
}
|
||||
}
|
||||
tree_sink.finish()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue