mirror of
https://github.com/encounter/rust-ffmpeg-zmwangx.git
synced 2026-07-10 21:18:40 -07:00
style: run cargo fmt
This commit is contained in:
@@ -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()
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user