Let Statement
Evaluates expression
(the initializer) and matches it against pattern
. If the match fails, a panic occurs.
Any bindings in pattern
are available for the remainder of the enclosing block expression. Any bindings in pattern
that existed prior to the let
statement are shadowed for the remainder of the enclosing block expression.
Last updated