Skip to content

Commit 1db6bb4

Browse files
authored
Merge pull request #1452 from Abdullah8006/patch-1
Updated the file destructure_tuple.md
2 parents ac3e985 + 2729175 commit 1db6bb4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/flow_control/match/destructuring/destructure_tuple.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ fn main() {
1313
// Destructure the second and third elements
1414
(0, y, z) => println!("First is `0`, `y` is {:?}, and `z` is {:?}", y, z),
1515
(1, ..) => println!("First is `1` and the rest doesn't matter"),
16-
// `..` can be the used ignore the rest of the tuple
16+
// `..` can be used to ignore the rest of the tuple
1717
_ => println!("It doesn't matter what they are"),
1818
// `_` means don't bind the value to a variable
1919
}

0 commit comments

Comments
 (0)