Skip to content

Inconsistent naming of mut methods (get_mut vs. mut_iter) #13660

Description

@mbrubeck

The Rust stdlib sometimes uses prefix mut_ and other times suffix _mut. This is a really minor papercut, but it does cause me to mistype names on a regular basis.

For example, we have:

find_mut
get_mut
front_mut
back_mut
borrow_mut

...but also:

mut_iter
mut_slice
mut_last
mut_split_at

Activity

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

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions