Fix clippy errors
This commit is contained in:
parent
a728b6666c
commit
438e164ffd
15 changed files with 36 additions and 36 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue