We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dd5ce5a commit e87894eCopy full SHA for e87894e
src/doc/reference.md
@@ -1274,7 +1274,12 @@ specific type; the type-specified aspects of a value include:
1274
For example, the type `(u8, u8)` defines the set of immutable values that are
1275
composite pairs, each containing two unsigned 8-bit integers accessed by
1276
pattern-matching and laid out in memory with the `x` component preceding the
1277
-`y` component.
+`y` component:
1278
+
1279
+```
1280
+type Point = (u8, u8);
1281
+let p: Point = (41, 68);
1282
1283
1284
### Structures
1285
0 commit comments