You've already forked comprehensive-rust
mirror of
https://github.com/google/comprehensive-rust.git
synced 2025-06-27 19:18:59 +02:00
Publish Comprehensive Rust 🦀
This commit is contained in:
7
src/pattern-matching/destructuring-arrays.md
Normal file
7
src/pattern-matching/destructuring-arrays.md
Normal file
@ -0,0 +1,7 @@
|
||||
# Destructuring Arrays
|
||||
|
||||
You can destructure arrays, tuples, and slices by matching on their elements:
|
||||
|
||||
```rust,editable
|
||||
{{#include ../../third_party/rust-by-example/destructuring-arrays.rs}}
|
||||
```
|
Reference in New Issue
Block a user