add default implementation

This commit is contained in:
yggverse 2024-11-30 01:59:40 +02:00
parent c3a76472d2
commit 7db362aadc
2 changed files with 12 additions and 0 deletions

View file

@ -27,6 +27,12 @@ pub struct Client {
pub socket: SocketClient,
}
impl Default for Client {
fn default() -> Self {
Self::new()
}
}
impl Client {
// Constructors