Add some uncontroversial derives to Error types

This commit is contained in:
James Munns
2023-10-06 17:45:35 +02:00
parent 65ed19aae2
commit 930b8f3495
10 changed files with 10 additions and 9 deletions

View File

@ -11,7 +11,7 @@ pub use asynch::Partition;
pub use blocking::BlockingPartition;
/// Partition error
#[derive(Debug)]
#[derive(Debug, PartialEq, Eq)]
#[cfg_attr(feature = "defmt", derive(defmt::Format))]
pub enum Error<T> {
/// The requested flash area is outside the partition