Skip to content
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

Invalid trait for space optimization of enums. #276

Closed
rust-highfive opened this issue Sep 24, 2014 · 3 comments
Closed

Invalid trait for space optimization of enums. #276

rust-highfive opened this issue Sep 24, 2014 · 3 comments
Labels
T-lang Relevant to the language team, which will review and decide on the RFC. T-libs-api Relevant to the library API team, which will review and decide on the RFC.

Comments

@rust-highfive
Copy link

Proposing to add Invalid trait and use it for Option<T> space optimization. This is an alternative to RFC #36.

Tracking issue for postponed PR #41

@rust-highfive rust-highfive added the postponed RFCs that have been postponed and may be revisited at a later time. label Sep 24, 2014
@kennytm
Copy link
Member

kennytm commented Jan 21, 2015

Since we already have Zeroable trait, this issue could be closed?

@nrc nrc added T-lang Relevant to the language team, which will review and decide on the RFC. T-libs-api Relevant to the library API team, which will review and decide on the RFC. labels Aug 17, 2016
@nrc
Copy link
Member

nrc commented Aug 17, 2016

Closing in favour of NonZero tracking issue

withoutboats pushed a commit to withoutboats/rfcs that referenced this issue Jan 15, 2017
@aidanhs
Copy link
Member

aidanhs commented Jan 18, 2018

Actually closing :)

@aidanhs aidanhs closed this as completed Jan 18, 2018
@petrochenkov petrochenkov removed the postponed RFCs that have been postponed and may be revisited at a later time. label Feb 24, 2018
wycats pushed a commit to wycats/rust-rfcs that referenced this issue Mar 5, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
T-lang Relevant to the language team, which will review and decide on the RFC. T-libs-api Relevant to the library API team, which will review and decide on the RFC.
Projects
None yet
Development

No branches or pull requests

5 participants