Skip to content

Commit

Permalink
Fix clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
poszu committed Jul 6, 2023
1 parent 90198f2 commit d55fd66
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion profiler/src/util/linux.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
use std::{error::Error, fs::File, fs::OpenOptions, os::fd::AsRawFd, path::Path};
use std::{error::Error, fs::File, os::fd::AsRawFd, path::Path};

pub(crate) fn open_without_cache(path: &Path) -> Result<File, Box<dyn Error>> {
let file = File::open(path)?;
Expand Down

0 comments on commit d55fd66

Please sign in to comment.