mirror of
https://github.com/rust-lang/book.git
synced 2026-11-30 20:14:32 -06:00
rebuild pages at 31abb14
This commit is contained in:
@@ -237,7 +237,7 @@ fn area(dimensions: (u32, u32)) -> u32 {
|
||||
<!-- I will add ghosting & wingdings once we're in libreoffice /Carol -->
|
||||
<p>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 <code>area</code>. 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:</p>
|
||||
<!-- I will change this to use wingdings instead of repeating this code once
|
||||
|
||||
+1
-1
@@ -3597,7 +3597,7 @@ fn area(dimensions: (u32, u32)) -> u32 {
|
||||
<!-- I will add ghosting & wingdings once we're in libreoffice /Carol -->
|
||||
<p>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 <code>area</code>. 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:</p>
|
||||
<!-- I will change this to use wingdings instead of repeating this code once
|
||||
|
||||
Reference in New Issue
Block a user