We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a545eac commit 667ee8aCopy full SHA for 667ee8a
src/libstd/sys/unix/fs.rs
@@ -204,7 +204,8 @@ impl DirEntry {
204
205
#[cfg(any(target_os = "macos",
206
target_os = "ios",
207
- target_os = "netbsd"))]
+ target_os = "netbsd",
208
+ target_os = "openbsd"))]
209
fn name_bytes(&self) -> &[u8] {
210
unsafe {
211
::slice::from_raw_parts(self.entry.d_name.as_ptr() as *const u8,
@@ -213,8 +214,7 @@ impl DirEntry {
213
214
}
215
#[cfg(any(target_os = "freebsd",
216
target_os = "dragonfly",
- target_os = "bitrig",
217
- target_os = "openbsd"))]
+ target_os = "bitrig"))]
218
219
220
0 commit comments