diff options
| author | Dan Gohman <dev@sunfishcode.online> | 2021-07-29 13:36:44 -0700 |
|---|---|---|
| committer | Dan Gohman <dev@sunfishcode.online> | 2021-08-19 12:02:40 -0700 |
| commit | 1ae1eeec2589abf742f87ec747acd31990e3b00a (patch) | |
| tree | cf2b1015fe0d737a080e1b13d7d73289cea21873 /library/std/src/sys/unix/stack_overflow.rs | |
| parent | 18a9f4628a44b2962dc8bd4b9b0026514effba2d (diff) | |
| download | rust-1ae1eeec2589abf742f87ec747acd31990e3b00a.tar.gz rust-1ae1eeec2589abf742f87ec747acd31990e3b00a.zip | |
Rename OptionFileHandle to HandleOrInvalid and make it just wrap an Option<OwnedHandle>
The name (and updated documentation) make the FFI-only usage clearer, and wrapping Option<OwnedHandle> avoids the need to write a separate Drop or Debug impl. Co-authored-by: Josh Triplett <josh@joshtriplett.org>
Diffstat (limited to 'library/std/src/sys/unix/stack_overflow.rs')
0 files changed, 0 insertions, 0 deletions
