From 8bfc4276a2a7857ae882fe0d4e27fef59ca9b124 Mon Sep 17 00:00:00 2001 From: Steve Klabnik Date: Wed, 18 Jan 2017 03:48:19 +0000 Subject: [PATCH] rebuild pages at 31abb14 --- ch05-00-structs.html | 2 +- print.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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: