Because then `str` would not be a dynamically sized type.
Please read the blog posts on dynamically sized types.
spir <[email protected]> wrote:
>On 11/08/2013 09:53 AM, Daniel Micay wrote:
>> It couldn't be called `str`, because `&str` is a slice.
>
>Why couldn't str be slices? (eg somewhat like arrays are slices in D)
>Also, i don't understand literals in Rust currently. Same for static
>arrays.
>
>Denis
>_______________________________________________
>Rust-dev mailing list
>[email protected]
>https://mail.mozilla.org/listinfo/rust-dev
--
Sent from my Android phone with K-9 Mail. Please excuse my brevity.
_______________________________________________
Rust-dev mailing list
[email protected]
https://mail.mozilla.org/listinfo/rust-dev