chore: Make clippy happy
Fix all clippy lints, except one, I kept it for @ngp because I'm not
100% sure what the correct behavior is
```rust
// src/util.rs:11
pub fn flopen(path: PathBuf, mode: FlockArg) -> Result<Flock<File>> {
let file = OpenOptions::new()
.read(true)
.write(true)
.create(true) // clippy: https://rust-lang.github.io/rust-clippy/master/index.html#suspicious_open_options
.open(path)?;
Flock::lock(file, mode).map_err(|(_, errno)| Error::Lock(errno))
}
```
Fixes: #4
Signed-off-by: Awiteb <a@4rs.nl>
authored by
Awiteb
and committed by
ngp.computer
48441e03
77106873