We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e965e03 commit e378029Copy full SHA for e378029
src/linux.rs
@@ -69,9 +69,9 @@ impl fmt::Display for LinuxI2CError {
69
fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result {
70
match *self {
71
LinuxI2CError::Errno(e) => {
72
- let error = nix::Error::from_i32(e);
73
- fmt::Display::fmt(&error, f)
74
- },
+ let error = nix::Error::from_i32(e);
+ fmt::Display::fmt(&error, f)
+ }
75
LinuxI2CError::Io(ref e) => fmt::Display::fmt(e, f),
76
}
77
0 commit comments