Closed cormacrelf closed 4 years ago
String::default() is an empty string, so this impl does the same.
Deref is also implemented by String and other string interners e.g. string-cache.
Obviously both are pretty convenient, and help Ustr act as a drop-in replacement better.
Thanks for the PR!
String::default() is an empty string, so this impl does the same.
Deref is also implemented by String and other string interners e.g. string-cache.
Obviously both are pretty convenient, and help Ustr act as a drop-in replacement better.