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 /examples/stm32l4 | |
| parent | 65ed19aae272d6d6320554446f9187ec2ef8bf39 (diff) | |
Add some uncontroversial derives to Error types
Diffstat (limited to 'examples/stm32l4')
| -rw-r--r-- | examples/stm32l4/src/bin/spe_adin1110_http_server.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/stm32l4/src/bin/spe_adin1110_http_server.rs b/examples/stm32l4/src/bin/spe_adin1110_http_server.rs index 287521582..ba4a9d230 100644 --- a/examples/stm32l4/src/bin/spe_adin1110_http_server.rs +++ b/examples/stm32l4/src/bin/spe_adin1110_http_server.rs | |||
| @@ -366,7 +366,7 @@ pub struct ADT7422<'d, BUS: I2cBus> { | |||
| 366 | bus: BUS, | 366 | bus: BUS, |
| 367 | } | 367 | } |
| 368 | 368 | ||
| 369 | #[derive(Debug, Format)] | 369 | #[derive(Debug, Format, PartialEq, Eq)] |
| 370 | pub enum Error<I2cError: Format> { | 370 | pub enum Error<I2cError: Format> { |
| 371 | I2c(I2cError), | 371 | I2c(I2cError), |
| 372 | Address, | 372 | Address, |
