2 ms·
Tiny bit: string literals don't desugar to str, that is their actual type. &String will coerce to &str thanks to Deref coercions.
by steveklabnik 10y ago
Tiny bit: string literals don't desugar to str, that is their actual type.
&String will coerce to &str thanks to Deref coercions.