diff --git a/ch05-00-structs.html b/ch05-00-structs.html index c2816d64a..3dee97f41 100644 --- a/ch05-00-structs.html +++ b/ch05-00-structs.html @@ -237,7 +237,7 @@ fn area(dimensions: (u32, u32)) -> u32 {

In one way, this is a little better. Tuples let us add a bit of structure, and we’re now passing just one argument when we call area. But in another way -this method less clear: tuples don’t give names to their elements, so our +this method is less clear: tuples don’t give names to their elements, so our calculation has gotten more confusing because we have to index into the parts of the tuple:

In one way, this is a little better. Tuples let us add a bit of structure, and we’re now passing just one argument when we call area. But in another way -this method less clear: tuples don’t give names to their elements, so our +this method is less clear: tuples don’t give names to their elements, so our calculation has gotten more confusing because we have to index into the parts of the tuple: