Skip to content

Commit

Permalink
Fix clippy error
Browse files Browse the repository at this point in the history
  • Loading branch information
ArturKovacs committed Apr 20, 2021
1 parent ee2527a commit 2158550
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/macos.rs
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,6 @@ fn to_string<T: Into<OsString>>(str_in: T) -> Result<String, Error> {
match s {
Some(s) => Ok(s.to_owned()),
None => {
std::mem::drop(s);
Err(Error::ConvertOsString { original: os_string })
}
}
Expand Down

0 comments on commit 2158550

Please sign in to comment.