Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

set_vec_pos does not need a second parameter #672

Merged
merged 1 commit into from
Feb 6, 2024

Conversation

braddunbar
Copy link
Contributor

The second argument to set_vec_pos always contains the value of self.data. Let's just use self.data and remove the second parameter altogether.

The second argument to `set_vec_pos` always contains the value of
`self.data`. Let's just use `self.data` and remove the second parameter
altogether.
Copy link
Member

@carllerche carllerche left a comment

Choose a reason for hiding this comment

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

Thanks

@carllerche carllerche merged commit f586ffc into tokio-rs:master Feb 6, 2024
15 checks passed
@braddunbar braddunbar mentioned this pull request Mar 22, 2024
@braddunbar braddunbar deleted the set-vec-pos-with-data branch March 24, 2024 13:11
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants