Skip to content

Commit

Permalink
Merge pull request #3654 from mulkieran/unknown-lint-remove
Browse files Browse the repository at this point in the history
Remove unknown_lint allows
  • Loading branch information
mulkieran authored Jul 23, 2024
2 parents cd09fb4 + 2ccc725 commit 855ae23
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 855ae23

Please sign in to comment.