Fix compile warning

This commit is contained in:
Asura
2022-09-02 01:20:48 -07:00
parent 03315a3bc4
commit 41241867b7
11 changed files with 15 additions and 23 deletions

View File

@@ -633,7 +633,7 @@ impl Connection {
let mut pi = PeerInfo {
username: username.clone(),
conn_id: self.inner.id,
version: crate::VERSION.to_owned(),
version: VERSION.to_owned(),
..Default::default()
};