rust-lang/rust — pull request #19116 by l0kod (2014-11-19 20:59:18+00:00)
Title: Expose file descriptor

For FFI needs, as started by #15643, this allow `File`, `PipeStream` and `UnixStream` to export their internal file descriptor with the `AsFileDesc` trait provided by #18557.