2 ms·
> I’ve always found it weird that if you make a short word for “String” and use a lower-case letter then it becomes the borrowed version. The reason for this i
by steveklabnik 4y ago
> I’ve always found it weird that if you make a short word for “String” and use a lower-case letter then it becomes the borrowed version.
The reason for this is that String is a standard library type, but str is a primitive type in the language. So they follow those respective conventions.