mirror of
https://github.com/rust-lang/rustlings.git
synced 2025-05-27 22:57:45 +02:00
Fixes the irrefutable let pattern warning in `structs1.rs` PR https://github.com/rust-lang/rustlings/pull/163 accidentally introduced an error using some versions of the Rust compiler where the compiler would (rightly!) complain about an irrefutable let pattern. I have no idea why this did not occur in all versions of the compiler, but here is a way around it.