Skip to content

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
@mox692 mox692 mentioned this pull request Jul 30, 2024
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