import order fix

This commit is contained in:
Dustin J. Mitchell 2022-02-27 18:14:21 +00:00
parent 85153423be
commit a525935008
No known key found for this signature in database

View file

@ -297,8 +297,8 @@ impl<'a> RustString<'a> {
let path: OsString = {
// on UNIX, we can use the bytes directly, without requiring that they
// be valid UTF-8.
use std::os::unix::ffi::OsStrExt;
use std::ffi::OsStr;
use std::os::unix::ffi::OsStrExt;
OsStr::from_bytes(self.as_bytes()).to_os_string()
};
#[cfg(windows)]