diff --git a/CHANGELOG.md b/CHANGELOG.md index 0277ee78..da34edd9 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -10,6 +10,13 @@ Since there is no stable release yet, the changes are organized per day in reverse chronological order. The main purpose of this document in its current state is to list breaking changes. +## [2023-05-13] + +### Fixed + +- Removed the `Default` bound from the `SysExMessage::Buffer` type. This was a + leftover from an older design. + ## [2023-04-30] ### Changed diff --git a/src/midi/sysex.rs b/src/midi/sysex.rs index dfd39c1e..442e3e8d 100644 --- a/src/midi/sysex.rs +++ b/src/midi/sysex.rs @@ -23,7 +23,7 @@ pub trait SysExMessage: Debug + Clone + PartialEq + Send + Sync { /// lengths just yet. /// /// - type Buffer: Default + Borrow<[u8]> + BorrowMut<[u8]>; + type Buffer: Borrow<[u8]> + BorrowMut<[u8]>; /// Read a SysEx message from `buffer` and convert it to this message type if supported. This /// covers the full message, see the trait's docstring for more information. `buffer`'s length