Fix clippy errors

This commit is contained in:
Igor Katson 2024-12-03 20:40:02 +00:00
parent a728b6666c
commit 438e164ffd
No known key found for this signature in database
GPG key ID: B4EC22B66D61A3F5
15 changed files with 36 additions and 36 deletions

View file

@ -51,7 +51,7 @@ impl Serialize for PeerStore {
peers: &'a dashmap::DashMap<Id20, Vec<StoredPeer>>,
}
impl<'a> Serialize for SerializePeers<'a> {
impl Serialize for SerializePeers<'_> {
fn serialize<S>(&self, serializer: S) -> Result<S::Ok, S::Error>
where
S: serde::Serializer,