rojo-rbx / rbx-dom

Roblox DOM and (de)serialization implementation in Rust
MIT License
113 stars 46 forks source link

Fix useless conversion lints, use Rust 2021 feature resolver #357

Closed kennethloeffler closed 1 year ago

kennethloeffler commented 1 year ago

This PR Fixes a couple clippy lints that recently cropped up - we were calling into_iter unnecessarily in some InstanceBuilder methods

I also noticed a warning about the Rust 2021 feature resolver, so I set workspace.resolver = "2" to silence it. It looks to work just fine and I can't see any significant drawbacks - see https://doc.rust-lang.org/edition-guide/rust-2021/default-cargo-resolver.html for details