Skip to content

Commit

Permalink
Merge pull request #145 from vitalyvb/langid-defmt
Browse files Browse the repository at this point in the history
Restore deriving defmt::Format for LangID when defmt feature is enabled
  • Loading branch information
ryan-summers committed Feb 28, 2024
2 parents ef539cb + 2cc436f commit a4701c1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/descriptor/lang_id.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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<LangID> for u16 {
Expand Down

0 comments on commit a4701c1

Please sign in to comment.