Clarify newtype

This commit is contained in:
Corey Richardson 2013-12-06 12:13:00 -05:00
parent d9eff8de8a
commit b5122c52ae

View File

@ -803,7 +803,7 @@ let id_int: int = *my_gizmo_id;
~~~~
Types like this can be useful to differentiate between data that have
the same type but must be used in different ways.
the same underlying type but must be used in different ways.
~~~~
struct Inches(int);