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

get_vec_pos: use &self instead of &mut self #670

Merged
merged 2 commits into from Feb 6, 2024

Conversation

braddunbar
Copy link
Contributor

@braddunbar braddunbar commented Jan 31, 2024

I can't see any reason that get_vec_pos needs a &mut self. Please let me know if I'm missing something!

I can't see any reason that get_vec_pos needs a &mut self.
Copy link
Member

@seanmonstar seanmonstar left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice catch!

@seanmonstar seanmonstar merged commit 1bcd212 into tokio-rs:master Feb 6, 2024
15 checks passed
@braddunbar braddunbar mentioned this pull request Mar 22, 2024
@braddunbar braddunbar deleted the get-vec-pos-mut branch March 24, 2024 13:11
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.

None yet

2 participants