]> git.lizzy.rs Git - rust.git/commitdiff
"equal" -> "same type"
authorAlex Burka <durka42+github@gmail.com>
Thu, 28 Apr 2016 14:32:08 +0000 (10:32 -0400)
committerAlex Burka <durka42+github@gmail.com>
Thu, 28 Apr 2016 14:32:08 +0000 (10:32 -0400)
src/doc/book/structs.md

index 44a6d282c00029d742af8d3363968aca52d351bd..34f50e905dd798ae500969173a3a6ef5a12ddf21 100644 (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: