sunfishcode / io-lifetimes

A low-level I/O ownership and borrowing library
Other
98 stars 10 forks source link

Define dedicated error types for `HandleOrNull` and `HandleOrInvalid` #27

Closed sunfishcode closed 2 years ago

sunfishcode commented 2 years ago

Introduce the InvalidHandleError and NullHandleError error types, corresponding to rust-lang/rust#95387.

sunfishcode commented 2 years ago

This has now landed on Right nightly.