mirror of
https://github.com/rust-lang/rust.git
synced 2025-11-08 18:31:35 +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``