"equal" -> "same type"

This commit is contained in:
Alex Burka 2016-04-28 10:32:08 -04:00
parent a14df5cc64
commit beec630863

View file

@ -164,8 +164,8 @@ let black = Color(0, 0, 0);
let origin = Point(0, 0, 0);
```
Here, `black` and `origin` are not equal, even though they contain the same
values.
Here, `black` and `origin` are not the same type, even though they contain the
same values.
The members of a tuple struct may be accessed by dot notation or destructuring
`let`, just like regular tuples: