mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-28 21:05:02 +00:00
Fix clippy lints in proc-macro-srv
This commit is contained in:
parent
c9314d4aff
commit
8a86fa01ac
6 changed files with 12 additions and 11 deletions
|
@ -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()) }
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue