jsonstein@masto.deoan.org ("Jeff Sonstein") wrote:
okay, so there are both "[t]he String type... growable, mutable, owned, UTF-8 encoded" and "the string slice str... usually seen in its borrowed form &str... references to some UTF-8 encoded string data stored elsewhere". excellent.
we have both an actual string-thingie, mutable but owned, and simply a reference to some string-thingie, which must in turn be borrowed from somewhere else.