mirror of
https://github.com/google/comprehensive-rust.git
synced 2025-05-23 02:40:13 +02:00
I generally like to start with that second case since imo it's the simplest one before going on to the case that uses a tuple sub-pattern to break up the `x` field.
Rust By Example
This directory contains examples copied from Rust by Example. Please see https://github.com/rust-lang/rust-by-example for the full project.
License
Rust by Example is licensed under either of
- Apache License, Version 2.0, (LICENSE-APACHE or http://www.apache.org/licenses/LICENSE-2.0)
- MIT license (LICENSE-MIT or http://opensource.org/licenses/MIT)
at your option.