Update Examples
parent
2777a59c2c
commit
bb12486ca2
@ -627,9 +627,9 @@ fn main
|
||||
x_cube + x_squared + x
|
||||
|
||||
//! Here we encounter two important Husht points.
|
||||
//! (1) Since there is only a single expression following the
|
||||
//! `let z=`, without the `scope` keyword this would just
|
||||
//! amount to `let z = 2 * x`
|
||||
//! (1) Since there is only a single expression
|
||||
//! following the `let z=`, without the `scope`
|
||||
//! keyword this would just amount to `let z = 2 * x`
|
||||
//! (2) The final semicolon is allowed and preserved by Husht to
|
||||
//! suppress the return value from the scope, but returning
|
||||
//! the last expression from a scope is the default for Husht
|
||||
|
Loading…
Reference in New Issue
Block a user