Update Examples

Glen Whitney 2024-08-25 02:57:19 +00:00
parent 1ef810f375
commit a20cb66df8

@ -605,6 +605,8 @@ fn main() {
x_cube + x_squared + x x_cube + x_squared + x
}; };
let z = { let z = {
// Final semicolon discards value; `z``()` // Final semicolon discards value; `z``()`
2 * x; 2 * x;
@ -641,7 +643,6 @@ fn main
println! "x is {:?}", x println! "x is {:?}", x
println! "y is {:?}", y println! "y is {:?}", y
println! "z is {:?}", z println! "z is {:?}", z
}
``` ```
</td></tr></table> </td></tr></table>