commits
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>
Fixes: #2
Signed-off-by: Awiteb <a@4rs.nl>
It allows you to have a bare link wrapping in < > to help the parser
identify them and allow you to "follow" them.
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>