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

Made local variable immutable by moving it into loop #92

Merged
merged 1 commit into from
Mar 22, 2021

Conversation

YohDeadfall
Copy link
Contributor

While it's a cosmetic change by making the variable immutable, it might improve codegen by more correct lifetime tracking and makes code less error prone.

@Manishearth Manishearth merged commit 1d3e87d into unicode-rs:master Mar 22, 2021
@YohDeadfall YohDeadfall deleted the immutable-local branch March 28, 2021 09:55
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