Closed
Description
Vec::as_slice
and Vec::as_mut_slice
are both marked unstable with reason "waiting on RFC revision." But the docs for as_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]
Metadata
Metadata
Assignees
Labels
No labels