mirror of
https://github.com/rust-lang/rust.git
synced 2026-01-20 21:00:06 +00:00
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``