-
Notifications
You must be signed in to change notification settings - Fork 145
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
Remove min_const_generics
feature
#242
Conversation
Thanks! We will need to wait until rust-lang/rust#79135 is merged and released to the nightly channel before we can merge this PR. |
src/lib.rs
Outdated
@@ -1934,34 +1933,13 @@ impl<'a> Drop for SetLenOnDrop<'a> { | |||
} | |||
} | |||
|
|||
#[cfg(feature = "const_generics")] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'd like to keep use of const generics behind an optional feature in smallvec 1.x, so it can continue compiling on Rust versions older than 1.51. Let's wait until 2.0 to remove this feature completely.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ooopsss... My bad :p
@bors-servo r+ |
📌 Commit 2964a84 has been approved by |
☀️ Test successful - checks-travis |
Depends on rust-lang/rust#79135.
If #240 is already under development and will be available before the 1.50 release, then feel free to close this PR. Otherwise, the feature removal will benefit upstream projects in the meanwhile.