style: run cargo fmt

This commit is contained in:
meh
2021-03-19 15:49:46 +01:00
parent c79d5ab7fa
commit ea4d70a3e6
-1
View File
@@ -302,7 +302,6 @@ pub fn output_as_with<P: AsRef<OsStr>>(
#[cfg(unix)]
fn from_os_str(path_or_url: impl AsRef<OsStr>) -> CString {
use std::os::unix::ffi::OsStrExt;
CString::new(path_or_url.as_ref().as_bytes()).unwrap()
}