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

Offset from #705

Merged
merged 3 commits into from
May 11, 2024
Merged

Offset from #705

merged 3 commits into from
May 11, 2024

Conversation

braddunbar
Copy link
Contributor

In #695, @Sytten added a separate version of offset_from for *const u8 (thanks @Sytten). After some digging, I found that we can use the new one for both cases. Further, there are several additional places we can/should be using offset_from instead of subtracting directly.

Copy link
Contributor

@Darksonn Darksonn left a comment

Choose a reason for hiding this comment

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

Thank you.

@Darksonn Darksonn merged commit 4950c50 into tokio-rs:master May 11, 2024
15 checks passed
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