Reformat code with latest cargo fmt

This commit is contained in:
Zhiming Wang
2020-06-02 17:54:31 +08:00
parent fdea9d77e7
commit 307f52c002
11 changed files with 46 additions and 27 deletions

View File

@ -59,9 +59,9 @@ impl<'a> Iterator for DeviceIter<'a> {
None
} else {
self.cur += 1;
Some(device::Info::wrap(*(*self.ptr)
.devices
.offset((self.cur - 1) as isize)))
Some(device::Info::wrap(
*(*self.ptr).devices.offset((self.cur - 1) as isize),
))
}
}
}