From 2cc436f27d2f58e0c26bcb25b264423d3343edf2 Mon Sep 17 00:00:00 2001 From: Vitalii Bursov Date: Wed, 28 Feb 2024 14:06:47 +0200 Subject: [PATCH] Restore deriving defmt::Format for LangID when defmt feature is enabled --- src/descriptor/lang_id.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/descriptor/lang_id.rs b/src/descriptor/lang_id.rs index 1e90a9f..298da80 100644 --- a/src/descriptor/lang_id.rs +++ b/src/descriptor/lang_id.rs @@ -2,6 +2,7 @@ #[allow(missing_docs)] #[derive(Clone, Copy, PartialEq, Eq, Debug)] +#[cfg_attr(feature = "defmt", derive(defmt::Format))] pub struct LangID(u16); impl From for u16 {