3 ms·
> String is the heap-allocated sequence of characters, To be clear, String is a heap-allocated sequence of u8 which form valid unicode scalar values. "charact
by steveklabnik 11y ago
> String is the heap-allocated sequence of characters,
To be clear, String is a heap-allocated sequence of u8 which form valid unicode scalar values. "character" in Rust usually means "char", and String is _not_ a list of chars.