mirror of
https://github.com/EasyTier/EasyTier.git
synced 2026-05-13 17:35:37 +00:00
clippy all codes (#1214)
1. clippy code 2. add fmt and clippy check in ci
This commit is contained in:
@@ -162,7 +162,7 @@ impl PeerCenterRpc for PeerCenterServer {
|
||||
direct_peers: Default::default(),
|
||||
})
|
||||
.direct_peers
|
||||
.insert(pair.dst, entry.info.clone());
|
||||
.insert(pair.dst, entry.info);
|
||||
}
|
||||
|
||||
Ok(GetGlobalPeerMapResponse {
|
||||
|
||||
Reference in New Issue
Block a user