rust-embedded-community / ssd1306

SSD1306 OLED driver
Apache License 2.0
314 stars 70 forks source link

Simplify terminal mode error handling #176

Closed bugadani closed 1 year ago

bugadani commented 1 year ago

While coherence rules don't allow us to implement From<Result<...>> we can do From<OneError> for OtherError and let the ? operator handle the conversion.

I don't believe this needs a changelog entry but let me know if it does.