Skip to content

Commit 4a70ebc

Browse files
committed
visually separate conditional imports in 'os_str.rs'
1 parent 99600ba commit 4a70ebc

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/shims/os_str.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,12 @@ use std::borrow::Cow;
22
use std::convert::TryFrom;
33
use std::ffi::{OsStr, OsString};
44
use std::iter;
5+
use std::path::{Path, PathBuf};
6+
57
#[cfg(unix)]
68
use std::os::unix::ffi::{OsStrExt, OsStringExt};
79
#[cfg(windows)]
810
use std::os::windows::ffi::{OsStrExt, OsStringExt};
9-
use std::path::{Path, PathBuf};
1011

1112
use rustc::ty::layout::LayoutOf;
1213

0 commit comments

Comments
 (0)