diff options
| author | Alex Crichton <alex@alexcrichton.com> | 2016-12-20 11:16:17 -0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2016-12-20 11:16:17 -0800 |
| commit | 68dd6fd964691cb50fc01ae6d0bad7f4b723b2d4 (patch) | |
| tree | b9659a08f67979ddfd43ba715a9d47884a4a13d5 /src/libstd/sys/windows | |
| parent | 7fe44f77f4580b60cf9f22e0ab35156c0ce12824 (diff) | |
| parent | 86fc63e62ddc0a271210b8cc7cc2a6de6874b8f8 (diff) | |
| download | rust-68dd6fd964691cb50fc01ae6d0bad7f4b723b2d4.tar.gz rust-68dd6fd964691cb50fc01ae6d0bad7f4b723b2d4.zip | |
Rollup merge of #38006 - frewsxcv:libstd-debug, r=alexcrichton
Implement `fmt::Debug` for all structures in libstd. Part of https://github.com/rust-lang/rust/issues/31869. Also turn on the `missing_debug_implementations` lint at the crate level.
Diffstat (limited to 'src/libstd/sys/windows')
| -rw-r--r-- | src/libstd/sys/windows/fs.rs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/libstd/sys/windows/fs.rs b/src/libstd/sys/windows/fs.rs index 7d7d78bbd87..c410fcd1ee0 100644 --- a/src/libstd/sys/windows/fs.rs +++ b/src/libstd/sys/windows/fs.rs @@ -58,7 +58,7 @@ pub struct DirEntry { data: c::WIN32_FIND_DATAW, } -#[derive(Clone)] +#[derive(Clone, Debug)] pub struct OpenOptions { // generic read: bool, @@ -79,6 +79,7 @@ pub struct OpenOptions { #[derive(Clone, PartialEq, Eq, Debug)] pub struct FilePermissions { attrs: c::DWORD } +#[derive(Debug)] pub struct DirBuilder; impl fmt::Debug for ReadDir { |
