From beec630863e9453c79b2f970323639ab1fe8e853 Mon Sep 17 00:00:00 2001 From: Alex Burka Date: Thu, 28 Apr 2016 10:32:08 -0400 Subject: [PATCH] "equal" -> "same type" --- src/doc/book/structs.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/doc/book/structs.md b/src/doc/book/structs.md index 44a6d282c000..34f50e905dd7 100644 --- a/src/doc/book/structs.md +++ b/src/doc/book/structs.md @@ -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: