Skip to content

Commit 9d6e1f9

Browse files
committed
rollup merge of #21038: steveklabnik/gh20471
Fixes #20471.
2 parents 1ba75d2 + 2297b0c commit 9d6e1f9

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/doc/trpl/compound-data-types.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -194,7 +194,8 @@ println!("length is {} inches", integer_length);
194194
```
195195

196196
As you can see here, you can extract the inner integer type through a
197-
destructuring `let`.
197+
destructuring `let`, as we discussed previously in 'tuples.' In this case, the
198+
`let Inches(integer_length)` assigns `10` to `integer_length`.
198199

199200
## Enums
200201

0 commit comments

Comments
 (0)