Skip to content

Commit

Permalink
Merge pull request #813 from ValouBambou/main
Browse files Browse the repository at this point in the history
doc: add note for the alloc feature flag
  • Loading branch information
Urhengulas authored Mar 6, 2024
2 parents 8d488c4 + a7ebe0e commit 7a0b42c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,10 @@ and this project adheres to [Semantic Versioning](http://semver.org/).

## [Unreleased]

- [#813] doc: add note for the alloc feature flag
- [#800]: `defmt-macros`: Fix generic trait bounds in Format derive macro

[#813]: https://github.com/knurling-rs/defmt/pull/813
[#800]: https://github.com/knurling-rs/defmt/pull/800

## [v0.3.6] - 2024-02-05
Expand Down
1 change: 1 addition & 0 deletions defmt/src/traits.rs
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ use crate::{export, Formatter, Str};
/// }
/// }
/// ```
/// **Note** Some implementations of standard types like `Vec<T>` are hidden behind the `alloc` feature flag.
pub trait Format {
/// Writes the defmt representation of `self` to `fmt`.
fn format(&self, fmt: Formatter);
Expand Down

0 comments on commit 7a0b42c

Please sign in to comment.