rust/src/libstd/sys
Chris Wong 1131bc0a0f Implement Debug for File
This patch adds a `Debug` impl for `std::fs::File`.

On all platforms (Unix and Windows) it shows the file descriptor.

On Linux, it displays the path and access mode as well.

Ideally we should show the path/mode for all platforms, not just Linux,
but this will do for now.

cc #24570
2015-04-21 17:13:36 +12:00
..
common deprecate Unicode functions that will be moved to crates.io 2015-04-16 17:03:05 -04:00
unix Implement Debug for File 2015-04-21 17:13:36 +12:00
windows Implement Debug for File 2015-04-21 17:13:36 +12:00