-
Notifications
You must be signed in to change notification settings - Fork 230
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
Usage of void
and replacement with core::convert::Infallible
#405
Comments
The missing pieces is the
So far, my take on the situation was to wait on stabilization of |
See also: At least in |
Nice, thanks for digging into this! I wasn't aware of the You are right, the best time is probably when adopting |
Hello, I've noticed a crate named
void
is used for infallible situations. However, since Rust 1.34.0, we haveInfallible
, which performs this task. Am I missing something, or could the void type the crate offers be replaced by this type?The text was updated successfully, but these errors were encountered: