Skip to content

Commit e378029

Browse files
committed
format the file
1 parent e965e03 commit e378029

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/linux.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -69,9 +69,9 @@ impl fmt::Display for LinuxI2CError {
6969
fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result {
7070
match *self {
7171
LinuxI2CError::Errno(e) => {
72-
let error = nix::Error::from_i32(e);
73-
fmt::Display::fmt(&error, f)
74-
},
72+
let error = nix::Error::from_i32(e);
73+
fmt::Display::fmt(&error, f)
74+
}
7575
LinuxI2CError::Io(ref e) => fmt::Display::fmt(e, f),
7676
}
7777
}

0 commit comments

Comments
 (0)