Skip to content

Commit

Permalink
fix: clippy warn
Browse files Browse the repository at this point in the history
  • Loading branch information
Wackyator committed Sep 24, 2023
1 parent 47a4700 commit b8c2396
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion yen-rs/src/utils.rs
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@ pub fn detect_target() -> miette::Result<String> {

pub fn is_glibc() -> miette::Result<bool> {
let p = PathBuf::from("/usr/bin/ldd");
let content = read_to_string(&p)?;
let content = read_to_string(p)?;

if MUSL.is_match(&content) {
Ok(true)
Expand Down

0 comments on commit b8c2396

Please sign in to comment.