@@ -1346,7 +1346,7 @@ destructors. Resources might go away in the future.
1346
1346
Rust datatypes are not trivial to copy (the way, for example,
1347
1347
JavaScript values can be copied by simply taking one or two machine
1348
1348
words and plunking them somewhere else). Shared boxes require
1349
- reference count updates, big records, tags , or unique pointers require
1349
+ reference count updates, big records, enums , or unique pointers require
1350
1350
an arbitrary amount of data to be copied (plus updating the reference
1351
1351
counts of shared boxes hanging off them).
1352
1352
@@ -1459,7 +1459,7 @@ alt my_rec {
1459
1459
1460
1460
The fact that arguments are conceptually passed by safe reference does
1461
1461
not mean all arguments are passed by pointer. Composite types like
1462
- records and tags * are* passed by pointer, but single-word values, like
1462
+ records and enums * are* passed by pointer, but single-word values, like
1463
1463
integers and pointers, are simply passed by value. Most of the time,
1464
1464
the programmer does not have to worry about this, as the compiler will
1465
1465
simply pick the most efficient passing style. There is one exception,
0 commit comments