Skip to content

Commit 2cc436f

Browse files
committed
Restore deriving defmt::Format for LangID when defmt feature is enabled
1 parent ef539cb commit 2cc436f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/descriptor/lang_id.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22

33
#[allow(missing_docs)]
44
#[derive(Clone, Copy, PartialEq, Eq, Debug)]
5+
#[cfg_attr(feature = "defmt", derive(defmt::Format))]
56
pub struct LangID(u16);
67

78
impl From<LangID> for u16 {

0 commit comments

Comments
 (0)