From db0fae8644fd70dfa84b9b575708436f468fa2b8 Mon Sep 17 00:00:00 2001 From: rster2002 Date: Sat, 9 Nov 2024 16:51:39 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20Add=20missing=20match?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../models/ship_module/ship_internal_module/internal_module.rs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/modules/ship/models/ship_module/ship_internal_module/internal_module.rs b/src/modules/ship/models/ship_module/ship_internal_module/internal_module.rs index d44b4969..65e18fd3 100644 --- a/src/modules/ship/models/ship_module/ship_internal_module/internal_module.rs +++ b/src/modules/ship/models/ship_module/ship_internal_module/internal_module.rs @@ -326,6 +326,9 @@ impl Display for InternalModule { InternalModule::BasicDiscoveryScanner => "Basic Discovery Scanner", InternalModule::IntermediateDiscoveryScanner => "Intermediate Discovery Scanner", InternalModule::AdvancedDiscoveryScanner => "Advanced Discovery Scanner", + + #[cfg(feature = "allow-unknown")] + InternalModule::Unknown(unknown) => return write!(f, "Unknown module: {}", unknown), } ) }