Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

fix!: Take in byte spans #90

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

Merged
Muscraft merged 2 commits into rust-lang:master from Muscraft:use-bytes
Mar 8, 2024
Merged

fix!: Take in byte spans #90

Muscraft merged 2 commits into rust-lang:master from Muscraft:use-bytes
Mar 8, 2024

Conversation

Copy link
Member

@Muscraft Muscraft commented Mar 8, 2024

BREAKING CHANGE: This switches from char spans to byte spans

This PR is a draft implementation to address #77. While I think I fixed every issue in moving from char spans to byte spans, I am not entirely certain. I may look into adding more tests to ensure we are doing the write thing. This also doesn't address the fact that people could pass in char spans when updating the version, not realizing the change. We could do something to make it more apparent but I am not sure what that would be.

PatchMixolydic reacted with confused emoji
BREAKING CHANGE: This switches from char spans to byte spans
BREAKING CHANGE: This changes (usize, usize) into Range<usize>
@Muscraft Muscraft marked this pull request as ready for review March 8, 2024 20:45
@Muscraft Muscraft merged commit 86f2be9 into rust-lang:master Mar 8, 2024
@Muscraft Muscraft deleted the use-bytes branch March 8, 2024 20:47
This was referenced Mar 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Reviewers

@epage epage epage approved these changes

Assignees
No one assigned
Labels
None yet
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

2 participants

AltStyle によって変換されたページ (->オリジナル) /