Skip to content
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

Rename ArrayOps::ref_mut_from_core_array #17

Merged
merged 1 commit into from
Jan 17, 2024

Conversation

tarcieri
Copy link
Member

Renames the method from the original ref_from_mut_core_array.

I just tried to guess what we called this and couldn't, which is probably a sign it's a bad name.

We use ref_mut elsewhere, e.g. split_ref_mut, and it nicely follows deref_mut from core as well.

Though this is a breaking change, we don't seem to use this method elsewhere in the project yet, AFAICT.

Renames the method from the original `ref_from_mut_core_array`.

I just tried to guess what we called this and couldn't, which is
probably a sign it's a bad name.

We use `ref_mut` elsewhere, e.g. `split_ref_mut`, and it nicely follows
`deref_mut` from core as well.

Though this is a breaking change, we don't seem to use this method
elsewhere in the project yet, AFAICT.
@tarcieri tarcieri merged commit d4deb43 into master Jan 17, 2024
14 checks passed
@tarcieri tarcieri deleted the rename-ref-mut-from-core-array branch January 17, 2024 00:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant