module
Do
{
// DO BLOCK BASICS
fn
test1
(
)
{
// use
do
to introduce a block that produces an expression.
// a
do
block, like all blocks introduce a new variable scope.
let
x
=
do
{
let
y
=
1
;
let
z
=
2
;
x
+
y
;
// result of
do
expression
}
}
}