mbe: Fix warnings about clippy str_to_string
rule
This commit is contained in:
parent
80713250c5
commit
edda6b8a1f
@ -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…
x
Reference in New Issue
Block a user