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