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

Use sub instead of offset #668

Merged
merged 1 commit into from
Feb 6, 2024
Merged

Conversation

braddunbar
Copy link
Contributor

We're always subtracting here, and we already have a usize, so sub seems like a more appropriate usage to me.

We're always subtracting here, and we already have a usize, so `sub`
seems like a more appropriate usage to me.
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! Good change.

@carllerche carllerche merged commit 47e8305 into tokio-rs:master Feb 6, 2024
15 checks passed
@braddunbar braddunbar mentioned this pull request Mar 22, 2024
@braddunbar braddunbar deleted the ptr-sub 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.

2 participants