We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 68976d1 commit 1c63ec4Copy full SHA for 1c63ec4
library/std/src/sys/unix/fs.rs
@@ -1628,20 +1628,13 @@ mod remove_dir_impl {
1628
target_os = "solaris",
1629
target_os = "illumos",
1630
target_os = "haiku",
1631
- target_os = "vxworks"
+ target_os = "vxworks",
1632
+ target_os = "fuchsia"
1633
))]
1634
fn is_dir(_ent: &DirEntry) -> Option<bool> {
1635
None
1636
}
1637
- #[cfg(target_os = "fuchsia")]
1638
- fn is_dir(ent: &DirEntry) -> Option<bool> {
1639
- match ent.entry.d_type {
1640
- libc::DT_DIR => Some(true),
1641
- _ => Some(false),
1642
- }
1643
1644
-
1645
#[cfg(not(any(
1646
1647
0 commit comments