-
Yorick Peterse authored
Using "var" is a bit confusing because one might read it as "variable" opposed to something along the lines of "mutable variable". Using "let mut" makes it more clear that we're defining a mutable variable, it also ensures both definitions always start with the same keyword.
Yorick Peterse authoredUsing "var" is a bit confusing because one might read it as "variable" opposed to something along the lines of "mutable variable". Using "let mut" makes it more clear that we're defining a mutable variable, it also ensures both definitions always start with the same keyword.
Loading