If it would be no different then why prefer immutable(char)[] for string?
Allocation-free slicing would have been illegal/unsafe then as someone could have possibly modified underlying chars via mutable reference.
If it would be no different then why prefer immutable(char)[] for string?
Allocation-free slicing would have been illegal/unsafe then as someone could have possibly modified underlying chars via mutable reference.