-
Notifications
You must be signed in to change notification settings - Fork 12.9k
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
make Vec<T> implement the slice methods #11876
Comments
The goal is to implement it like in python?With [start: end: step]? Or just [start:end]? (Thats just a question I dont have the lvl for coding it). Maybe this bug will need precisions like "easy or hard label" etc... |
@darnuria that's something different and covered by #4160, @thestinger is referring to the methods like In any case, many of these methods are added in #12253. |
@thestinger Maybe this bug need to be closed? :) |
Impl'd through deref magic. |
`manual_try_fold`: check that `fold` is really `Iterator::fold` Fix rust-lang#11876 changelog: [`manual_try_fold`]: suggest using `try_fold` only for `Iterator::fold` uses
It doesn't have auto-slicing, nor do I think it should have it, so this is necessary to make it usable without a lot of pain.
The text was updated successfully, but these errors were encountered: