File tree Expand file tree Collapse file tree 1 file changed +5
-12
lines changed Expand file tree Collapse file tree 1 file changed +5
-12
lines changed Original file line number Diff line number Diff line change @@ -1300,18 +1300,11 @@ contiguous stack segments like C.
1300
1300
1301
1301
A _ type alias_ defines a new name for an existing [ type] ( #types ) . Type
1302
1302
aliases are declared with the keyword ` type ` . Every value has a single,
1303
- specific type; the type-specified aspects of a value include:
1304
-
1305
- * Whether the value is composed of sub-values or is indivisible.
1306
- * Whether the value represents textual or numerical information.
1307
- * Whether the value represents integral or floating-point information.
1308
- * The sequence of memory operations required to access the value.
1309
- * The [ kind] ( #type-kinds ) of the type.
1310
-
1311
- For example, the type ` (u8, u8) ` defines the set of immutable values that are
1312
- composite pairs, each containing two unsigned 8-bit integers accessed by
1313
- pattern-matching and laid out in memory with the ` x ` component preceding the
1314
- ` y ` component:
1303
+ specific type, but may implement several different traits, or be compatible with
1304
+ several different type constraints.
1305
+
1306
+ For example, the following defines the type ` Point ` as a synonym for the type
1307
+ ` (u8, u8) ` , the type of pairs of unsigned 8 bit integers.:
1315
1308
1316
1309
```
1317
1310
type Point = (u8, u8);
You can’t perform that action at this time.
0 commit comments