Skip to content

Commit

Permalink
fix: macos clippy issues
Browse files Browse the repository at this point in the history
  • Loading branch information
LeoBorai committed Jul 13, 2022
1 parent 13fa7cf commit 17266f9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/macos.rs
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ unsafe fn get_ifa_name(ifa: *mut *mut ifaddrs) -> Result<String, Error> {
Ok(s) => Ok(s),
Err(e) => Err(Error::StrategyError(format!(
"Failed to retrieve interface name. The name is not a valid UTF-8 string. {}",
e.to_string()
e
))),
}
}

0 comments on commit 17266f9

Please sign in to comment.