mirror of
https://github.com/chatmail/core.git
synced 2026-04-24 08:56:29 +03:00
Inline format arguments
This feature has been stable since Rust 1.58.0.
This commit is contained in:
@@ -417,8 +417,7 @@ impl Peerstate {
|
||||
Ok(())
|
||||
} else {
|
||||
Err(Error::msg(format!(
|
||||
"{} is not peer's public key fingerprint",
|
||||
fingerprint,
|
||||
"{fingerprint} is not peer's public key fingerprint",
|
||||
)))
|
||||
}
|
||||
}
|
||||
@@ -432,8 +431,7 @@ impl Peerstate {
|
||||
Ok(())
|
||||
} else {
|
||||
Err(Error::msg(format!(
|
||||
"{} is not peer's gossip key fingerprint",
|
||||
fingerprint,
|
||||
"{fingerprint} is not peer's gossip key fingerprint",
|
||||
)))
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user