Skip to content

Conversation

ytmimi
Copy link
Contributor

@ytmimi ytmimi commented Apr 7, 2023

Fixes #5739

This prevents rustfmt from incorrectly indexing into an invalid byte position for unicode characters.

@shulaoda
Copy link
Contributor

Any updates on this? It’s small enough and looks correct — we could consider more reviews and move it forward.

@Manishearth Manishearth enabled auto-merge October 10, 2025 17:15
@Manishearth Manishearth merged commit f8c8294 into rust-lang:master Oct 11, 2025
26 checks passed
@ytmimi ytmimi added the release-notes Needs an associated changelog entry label Oct 13, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

release-notes Needs an associated changelog entry

Projects

None yet

Development

Successfully merging this pull request may close these issues.

panic: byte index 48 is not a char boundary; it is inside '\u{2029}

4 participants