Let Without Assignment
So far, we’ve immediately assigned values to variables with let
. However, it’s valid in Rust to separate these steps out. For example:
So far, we’ve immediately assigned values to variables with let
. However, it’s valid in Rust to separate these steps out. For example: