diff options
| author | James Munns <[email protected]> | 2023-10-06 17:45:35 +0200 |
|---|---|---|
| committer | James Munns <[email protected]> | 2023-10-06 17:45:35 +0200 |
| commit | 930b8f34953596c550ca47bb35d8ab1d19d8feed (patch) | |
| tree | ff259c5ced90358839085d598878012b238afc7d /embassy-embedded-hal/src/flash/partition/mod.rs | |
| parent | 65ed19aae272d6d6320554446f9187ec2ef8bf39 (diff) | |
Add some uncontroversial derives to Error types
Diffstat (limited to 'embassy-embedded-hal/src/flash/partition/mod.rs')
| -rw-r--r-- | embassy-embedded-hal/src/flash/partition/mod.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/embassy-embedded-hal/src/flash/partition/mod.rs b/embassy-embedded-hal/src/flash/partition/mod.rs index a12e49ce1..42c8a308d 100644 --- a/embassy-embedded-hal/src/flash/partition/mod.rs +++ b/embassy-embedded-hal/src/flash/partition/mod.rs | |||
| @@ -11,7 +11,7 @@ pub use asynch::Partition; | |||
| 11 | pub use blocking::BlockingPartition; | 11 | pub use blocking::BlockingPartition; |
| 12 | 12 | ||
| 13 | /// Partition error | 13 | /// Partition error |
| 14 | #[derive(Debug)] | 14 | #[derive(Debug, PartialEq, Eq)] |
| 15 | #[cfg_attr(feature = "defmt", derive(defmt::Format))] | 15 | #[cfg_attr(feature = "defmt", derive(defmt::Format))] |
| 16 | pub enum Error<T> { | 16 | pub enum Error<T> { |
| 17 | /// The requested flash area is outside the partition | 17 | /// The requested flash area is outside the partition |
