From 9a60751a901f568bdeb154c4115235d4f3a0f8b9 Mon Sep 17 00:00:00 2001 From: 魏曹先生 <1992414357@qq.com> Date: Fri, 20 Mar 2026 21:54:29 +0800 Subject: Apply clippy suggestions and improve code quality --- protocol/src/address.rs | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'protocol/src/address.rs') diff --git a/protocol/src/address.rs b/protocol/src/address.rs index 60cc17c..3f927e0 100644 --- a/protocol/src/address.rs +++ b/protocol/src/address.rs @@ -47,6 +47,15 @@ where } } +impl Default for Host +where + Protocol: BasicProtocol, +{ + fn default() -> Self { + Self::new() + } +} + impl Host where Protocol: BasicProtocol, -- cgit