From b51a9ef2d091dfac4833100e9835471e365168e1 Mon Sep 17 00:00:00 2001 From: metamuffin Date: Tue, 25 Feb 2025 21:57:49 +0100 Subject: clippy --- client/src/chat.rs | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'client/src/chat.rs') diff --git a/client/src/chat.rs b/client/src/chat.rs index e5580f5..d60c118 100644 --- a/client/src/chat.rs +++ b/client/src/chat.rs @@ -22,6 +22,12 @@ pub struct Chat { pub send_queue: VecDeque, pub history: VecDeque, } +impl Default for Chat { + fn default() -> Self { + Self::new() + } +} + impl Chat { pub fn new() -> Self { Self { -- cgit v1.2.3-70-g09d2