Skip to content

Conversation

@CieriA
Copy link
Contributor

@CieriA CieriA commented Jan 2, 2026

This PR fixes the documentation of the trait AsMut, where in the sentence "[ ... ] interface which work with any type [ ... ]", "work" should be replaced by "works".

This also changes the later "[ ... ] into a byte slice ([u8]) or byte vector (Vec) [ ... ]" to be "[ ... ] into a byte slice ([u8]) or a byte vector (Vec) [ ... ]" to maintain consistency between "a byte slice" and "a byte vector".

Issue: #149609

Corrected "work" to "works", and "byte vector" to "a byte vector" to match the phrasing of "a byte slice" in the documentation of the trait `AsMut`

Fixes rust-lang#149609
@rustbot rustbot added S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. T-libs Relevant to the library team, which will review and decide on the PR/issue. labels Jan 2, 2026
@rustbot
Copy link
Collaborator

rustbot commented Jan 2, 2026

r? @Mark-Simulacrum

rustbot has assigned @Mark-Simulacrum.
They will have a look at your PR within the next two weeks and either review your PR or reassign to another reviewer.

Use r? to explicitly pick a reviewer

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. T-libs Relevant to the library team, which will review and decide on the PR/issue.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants