Skip to content

Commit

Permalink
Merge pull request #1729 from saschagrunert/clippy
Browse files Browse the repository at this point in the history
Fix clippy lint
  • Loading branch information
openshift-merge-robot authored Sep 27, 2023
2 parents a4647ad + e48d318 commit 8973f8a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion conmon-rs/server/src/pause.rs
Original file line number Diff line number Diff line change
Expand Up @@ -302,7 +302,7 @@ impl Pause {

let mut file = File::options()
.write(true)
.open(&path)
.open(path)
.context("open mapping file")?;

for mapping in mappings {
Expand Down
1 change: 1 addition & 0 deletions conmon-rs/server/src/version.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
//! Generic version information for conmon
#![allow(clippy::uninlined_format_args)]
#![allow(clippy::needless_raw_string_hashes)]

use getset::CopyGetters;
use shadow_rs::shadow;
Expand Down

0 comments on commit 8973f8a

Please sign in to comment.