diff --git a/CHANGELOG.md b/CHANGELOG.md index cb1b58d5..c2333ef4 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -65,7 +65,8 @@ We have several packages which live in this repository. Changes are tracked sepa * [#955] Allow using the `defmt/alloc` feature on bare metal ESP32-S2 * [#972] Fix logic bug in env_filter * [#1007] `defmt`: impl `Format` for `core::fmt::Error` -* [#983] Add `Format` implementation for core::num::Wrapping +* [#983] Add `Format` implementation for `core::num::Wrapping` +* [#1022] Re-fix accidental breaking change in `Format` macro ### [defmt-v1.0.1] (2025-04-01) diff --git a/macros/src/derives/format/codegen.rs b/macros/src/derives/format/codegen.rs index 6dc29c8a..3c70b22d 100644 --- a/macros/src/derives/format/codegen.rs +++ b/macros/src/derives/format/codegen.rs @@ -102,7 +102,7 @@ impl DefmtAttr { Ok((transparent, defmt_path)) }, )?; - let defmt_path = defmt_path.unwrap_or_else(|| parse_quote! { ::defmt }); + let defmt_path = defmt_path.unwrap_or_else(|| parse_quote! { defmt }); Ok(Self { transparent, defmt_path,