-
Notifications
You must be signed in to change notification settings - Fork 13.3k
Make NonZero<char> possible #141001
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
base: master
Are you sure you want to change the base?
Make NonZero<char> possible #141001
Conversation
It’s not clear from the diff, but I guess since |
r? libs-api |
That's a good point I hadn't considered. I'll look into whether a feature gate is possible. |
Could you add a test so we don't accidentally regress this? |
Do you mean a test that just uses all the possible NonZero-able types as NonZeros? Meaning they are tested for being possible. Or is there another thing you meant? |
I did only mean something to check basic usage of the type, and was only thinking of |
I'd like to use
NonZero<char>
for representing units of CStr in https://github.com/rust-lang/literal-escaper