Skip to content

Commit a0a600f

Browse files
committed
Add Debug to OpenOptions and DirBuilder
1 parent 99913c5 commit a0a600f

File tree

1 file changed

+2
-1
lines changed
  • src/libstd/sys/redox

1 file changed

+2
-1
lines changed

src/libstd/sys/redox/fs.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ pub struct DirEntry {
4343
name: Box<[u8]>
4444
}
4545

46-
#[derive(Clone)]
46+
#[derive(Clone, Debug)]
4747
pub struct OpenOptions {
4848
// generic
4949
read: bool,
@@ -63,6 +63,7 @@ pub struct FilePermissions { mode: u16 }
6363
#[derive(Copy, Clone, PartialEq, Eq, Hash, Debug)]
6464
pub struct FileType { mode: u16 }
6565

66+
#[derive(Debug)]
6667
pub struct DirBuilder { mode: u16 }
6768

6869
impl FileAttr {

0 commit comments

Comments
 (0)