Skip to content

Conversation

DaniPopes
Copy link

Motivation

Noticed in #3243 that the main loop iterates over from.trim().char_indices(), but i is used to index into the untrimmed from.

Solution

Reassign from.

`i` refers to `from.trim()` but `from` is used when indexing.
@DaniPopes DaniPopes requested review from hawkw, davidbarsky and a team as code owners June 4, 2025 19:44
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.

1 participant