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

Change FromBytes::(mut_)?slice_from_[prefix|suffix] to return Self #907

Conversation

dorryspears
Copy link
Contributor

Closes #884

Saw this issue in the help wanted, and thought I would give it a shot.

@joshlf joshlf mentioned this pull request Feb 21, 2024
51 tasks
@joshlf
Copy link
Member

joshlf commented Feb 21, 2024

This will be a breaking change, so we'll need to make sure we either address it as part of 0.8 or punt it to a future release. I've added it to #671 to make sure we make a decision one way or another before we release 0.8.

We're likely going to leave this un-merged for a while until we have time to discuss it in more detail, but I promise it's not abandoned 🙂

@joshlf
Copy link
Member

joshlf commented Apr 24, 2024

Closing this in favor of #1051, which was implemented in #1059

@joshlf joshlf closed this Apr 24, 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.

FromBytes::(mut_)?slice_from_[prefix|suffix] also returns the prefix/suffix instead of just the read slice
3 participants