-
Notifications
You must be signed in to change notification settings - Fork 787
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
Change PySet::new
to accept a ExactSizeIterator
#2789
Comments
Shouldn't it actually take |
We can update |
agreed.
Not sure what would be fastest, but currently |
My gut feeling is that using |
Then I guess there should be a |
If we let it take an |
Awesome, thank you. |
Somewhat related to #2673.
PyList::new
has signature:But
PySet::new
is defined asPySet::new
elements
parameter type should be relaxed toExactSizeIterator<Item = T>
, not a slice.The text was updated successfully, but these errors were encountered: