Skip to content

cleanup workaround for old Rust compiler#141

Open
nbdd0121 wants to merge 3 commits intomainfrom
dev/cleanup
Open

cleanup workaround for old Rust compiler#141
nbdd0121 wants to merge 3 commits intomainfrom
dev/cleanup

Conversation

@nbdd0121
Copy link
Copy Markdown
Member

The workaround mentions it's for Rust versions before 1.81. The minimum is now 1.82, thus clean up.

@nbdd0121 nbdd0121 force-pushed the dev/cleanup branch 2 times, most recently from 87867d7 to e66749a Compare May 1, 2026 13:45
nbdd0121 added 3 commits May 5, 2026 12:44
The workaround mentions it's for Rust versions before 1.81. The minimum is
now 1.82, thus clean up.

Signed-off-by: Gary Guo <gary@garyguo.net>
We have declared MSRV in Cargo.toml so Clippy automatically suppress this
lint as it's not available in our MSRV.

Signed-off-by: Gary Guo <gary@garyguo.net>
Tuples implement `FromIterator` since Rust 1.79. Remove the `collect_tuple`
polyfill now the MSRV is above 1.79.

To avoid over-identing the closure, I move the `Field` destructure from the
closure parameter to a let binding. This keeps the diff small.

Signed-off-by: Gary Guo <gary@garyguo.net>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant