Skip to content
Merged
Show file tree
Hide file tree
Changes from 5 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,13 @@ We have several packages which live in this repository. Changes are tracked sepa

### [defmt-next]

* [#960]: Fix `Format` not accepting multiple helper attribute instances
* [#937]: add support for `#[defmt(transparent)]` on `Format` derive
* [#959]: Missing "unstable-test" cfg in tests module
* [#956]: Link LICENSE-* in the crate folder
* [#955]: Allow using the `defmt/alloc` feature on bare metal ESP32-S2
* [#972]: Fix logic bug in env_filter
* [#983]: Add `Format` implementation for core::num::Wrapping<T>
* [#974] Ensure typechecking is still performed on disabled log statement.
* [#960] Fix `Format` not accepting multiple helper attribute instances
* [#937] add support for `#[defmt(transparent)]` on `Format` derive
Expand Down
8 changes: 7 additions & 1 deletion defmt/src/impls/core_/num.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
use core::num;
use core::num::{self, Wrapping};

use super::*;

Expand Down Expand Up @@ -30,3 +30,9 @@ impl Format for num::TryFromIntError {
crate::write!(fmt, "TryFromIntError(())");
}
}

impl<T: Format> Format for Wrapping<T> {
fn format(&self, fmt: Formatter) {
self.0.format(fmt);
}
}