Shorter code and by initializing to the final value directly, the variable doesn't need to be mut.
For high-level intro to how type checking works in rustc, see the type checking chapter of the rustc dev guide.
Shorter code and by initializing to the final value directly, the variable doesn't need to be mut.
For high-level intro to how type checking works in rustc, see the type checking chapter of the rustc dev guide.