Fix clippy lints in proc-macro-srv

This commit is contained in:
Lukas Wirth 2024-12-12 13:30:42 +01:00
parent c9314d4aff
commit 8a86fa01ac
6 changed files with 12 additions and 11 deletions

View file

@ -13,7 +13,7 @@ pub(crate) struct ProcMacros {
impl From<bridge::PanicMessage> for crate::PanicMessage {
fn from(p: bridge::PanicMessage) -> Self {
Self { message: p.as_str().map(|s| s.to_string()) }
Self { message: p.as_str().map(|s| s.to_owned()) }
}
}