Update Examples
parent
bdfa3c25c9
commit
1ef810f375
@ -635,7 +635,7 @@ fn main
|
|||||||
//! the scope, but returning the last expression
|
//! the scope, but returning the last expression
|
||||||
//! from a scope is the default for Husht
|
//! from a scope is the default for Husht
|
||||||
let z = scope
|
let z = scope
|
||||||
// Final semicolon discards value; `z` ← `()
|
// Final semicolon discards value; `z` ← `()`
|
||||||
2 * x;
|
2 * x;
|
||||||
|
|
||||||
println! "x is {:?}", x
|
println! "x is {:?}", x
|
||||||
|
Loading…
Reference in New Issue
Block a user