-
Notifications
You must be signed in to change notification settings - Fork 13.3k
Improve documentation for Vec::as_slice #25622
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
Comments
cc @bluss |
steveklabnik
added a commit
to steveklabnik/rust
that referenced
this issue
May 27, 2015
Slicing syntax should be used instead. Fixes rust-lang#25622
See #25833 (comment) , this is actually correct |
There are still these problems to be fixed:
|
Which are these? It shows as unstable in that patch I worked up |
ahhh i see, it's in the words, not the attribute |
steveklabnik
added a commit
to steveklabnik/rust
that referenced
this issue
May 29, 2015
steveklabnik
added a commit
to steveklabnik/rust
that referenced
this issue
May 29, 2015
bors
added a commit
that referenced
this issue
May 29, 2015
XMPPwocky
pushed a commit
to XMPPwocky/rust
that referenced
this issue
May 29, 2015
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Vec::as_slice
andVec::as_mut_slice
are both marked unstable with reason "waiting on RFC revision." But the docs foras_mut_slice
say that it is deprecated.If these methods are deprecated, they should be marked deprecated instead of unstable. And either way, a hint should be added regarding how to replace
Vec::as_slice
in old code.[moved from rust-lang/rfcs#1128]
The text was updated successfully, but these errors were encountered: