Sensirion / sensirion-i2c-rs

Rust library with common functionality for our I2C sensors
BSD 3-Clause "New" or "Revised" License
12 stars 8 forks source link

crc8: Use explicit error type #18

Closed rnestler closed 3 years ago

rnestler commented 3 years ago

Even if just one error can happen, it may be beneficial to be able to have a separate error type to allow for From<Error> implementations.

rnestler commented 3 years ago

Thanks @barafael for the suggestion for this change!