Mut empty string error?

Hi,

vs

why?

Because it's not mutable and you're trying to change it. The compiler specifically tells you this: "cannot assign twice to immutable variable".

1 Like