-
Notifications
You must be signed in to change notification settings - Fork 11
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Docs don't match type niche #1
Comments
There are reasons to guess that It would be quite unfortunate here if |
On further reflection, it seems best to change this to a |
The documentation is now expanded to describe this, and the code is now changed to panic instead of doing UB if we ever get a null, so I think this issue is now fixed. Thanks for filing this! |
Thanks! Sorry I couldn't find any decent references for null-ness. |
Shouldn't the
OptionFileHandle
use*mut c_void
and notNonNull
, since null is a valid value?/~https://github.com/sunfishcode/io-experiment/blob/41303e0015f8a751d3ec86c9105984a47f49d989/src/types.rs#L153-L166
The text was updated successfully, but these errors were encountered: