Skip to content

Update to edition 2024.#588

Merged
dgohman-fastly merged 2 commits into
mainfrom
dgohman-fastly/edition-2024
Mar 3, 2026
Merged

Update to edition 2024.#588
dgohman-fastly merged 2 commits into
mainfrom
dgohman-fastly/edition-2024

Conversation

@dgohman-fastly
Copy link
Copy Markdown
Contributor

This is mostly auto-generated by cargo fix --edition and cargo fmt, but I did make a few manual changes to avoid using the expr_2021 compatibility construct and to add safety comments to unsafe blocks around std::env::set_var calls, which are unsafe now.

@dgohman-fastly dgohman-fastly requested review from angelo-tmc and chenyan2002 and removed request for angelo-tmc March 2, 2026 23:23
chenyan2002
chenyan2002 previously approved these changes Mar 2, 2026
This is mostly auto-generated by `cargo fix --edition` and `cargo fmt`,
but I did make a few manual changes to avoid using the `expr_2021`
compatibility construct and to add safety comments to `unsafe` blocks
around `std::env::set_var` calls, which are unsafe now.
@dgohman-fastly dgohman-fastly merged commit 5c11884 into main Mar 3, 2026
14 checks passed
@dgohman-fastly dgohman-fastly deleted the dgohman-fastly/edition-2024 branch March 3, 2026 18:08
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