Skip to content

Commit

Permalink
Merge pull request #28 from quartiq/main
Browse files Browse the repository at this point in the history
Runner buffer can be ?Sized
  • Loading branch information
thejpster authored Sep 9, 2024
2 parents d411ba7 + db812f7 commit ac34f7c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,9 @@ and this project adheres to [Semantic Versioning](http://semver.org/).

## [Unreleased](https://github.com/rust-embedded-community/menu/compare/v0.6.0...master)

* None
### Changed

* For `Runner::input_byte` the buffer `B` does not need to be `Sized`

## [v0.6.0] - 2024-08-30

Expand Down
2 changes: 1 addition & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -374,7 +374,7 @@ where
impl<'a, I, T, B> Runner<'a, I, T, B>
where
I: embedded_io::Write,
B: AsMut<[u8]>,
B: AsMut<[u8]> + ?Sized,
{
/// Add a byte to the menu runner's buffer. If this byte is a
/// carriage-return, the buffer is scanned and the appropriate action
Expand Down

0 comments on commit ac34f7c

Please sign in to comment.