Skip to content

Commit

Permalink
Remove unknown_lint allows
Browse files Browse the repository at this point in the history
Signed-off-by: mulhern <[email protected]>
  • Loading branch information
mulkieran committed Jul 23, 2024
1 parent cd09fb4 commit 2ccc725
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 4 deletions.
2 changes: 0 additions & 2 deletions src/bin/stratis-min/stratisd-min.rs
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,6 @@ fn parse_args() -> Command {
/// To ensure only one instance of stratisd runs at a time, acquire an
/// exclusive lock. Return an error if lock attempt fails.
fn trylock_pid_file() -> StratisResult<Flock<File>> {
#[allow(unknown_lints)]
#[allow(clippy::suspicious_open_options)]
let f = OpenOptions::new()
.read(true)
Expand Down Expand Up @@ -77,7 +76,6 @@ fn trylock_pid_file() -> StratisResult<Flock<File>> {
}
};

#[allow(unknown_lints)]
#[allow(clippy::suspicious_open_options)]
let f = OpenOptions::new()
.read(true)
Expand Down
2 changes: 0 additions & 2 deletions src/bin/stratisd.rs
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,6 @@ fn initialize_log(log_level: Option<&str>) {
/// To ensure only one instance of stratisd runs at a time, acquire an
/// exclusive lock. Return an error if lock attempt fails.
fn trylock_pid_file() -> StratisResult<Flock<File>> {
#[allow(unknown_lints)]
#[allow(clippy::suspicious_open_options)]
let f = OpenOptions::new()
.read(true)
Expand Down Expand Up @@ -83,7 +82,6 @@ fn trylock_pid_file() -> StratisResult<Flock<File>> {
}
};

#[allow(unknown_lints)]
#[allow(clippy::suspicious_open_options)]
let f = OpenOptions::new()
.read(true)
Expand Down

0 comments on commit 2ccc725

Please sign in to comment.