mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-04 09:53:04 +03:00
687bb583c8
Add a `try_clone()` function to `OwnedFd`. As suggested in #88564. This adds a `try_clone()` to `OwnedFd` by refactoring the code out of the existing `File`/`Socket` code. r? ``@joshtriplett``