We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
DerefMut
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
Take a look at https://doc.rust-lang.org/std/vec/struct.Vec.html. The sidebar has Deref<Target=[T]>, but not DerefMut, so methods like sort are missing.
Deref<Target=[T]>
sort
The text was updated successfully, but these errors were encountered:
Thanks for reporting it. Since another issue is already open, I'll close this one.
Duplicates of #60326.
Sorry, something went wrong.
@GuillaumeGomez do you happen to know when the documentation published on https://doc.rust-lang.org/std/vec/struct.Vec.html will get updated?
@lnicola It probably won't be fixed there until the next stable release, but it's already fixed on the nightly docs: https://doc.rust-lang.org/nightly/std/vec/struct.Vec.html
@leo60228 thanks, I thought https://doc.rust-lang.org/std/vec/struct.Vec.html was the location of the nightly docs 😄.
I suppose it's intentional that the DerefMut methods show up under Deref?
Deref
Yes it is.
No branches or pull requests
Take a look at https://doc.rust-lang.org/std/vec/struct.Vec.html. The sidebar has
Deref<Target=[T]>
, but notDerefMut
, so methods likesort
are missing.The text was updated successfully, but these errors were encountered: