mirror of
https://github.com/notohh/rustlings.git
synced 2024-12-22 19:28:10 -05:00
752bc27e2b
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. |
||
---|---|---|
.. | ||
error_handling | ||
functions | ||
if | ||
macros | ||
modules | ||
move_semantics | ||
primitive_types | ||
standard_library_types | ||
strings | ||
structs | ||
tests | ||
threads | ||
variables | ||
test1.rs | ||
test2.rs | ||
test3.rs | ||
test4.rs |