diff --git a/CHANGELOG.md b/CHANGELOG.md index 2f84268..3fbcb2c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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 diff --git a/src/lib.rs b/src/lib.rs index 13d69e0..00159c4 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -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