Closed lo48576 closed 3 years ago
String::insert_str is added since Rust 1.16.0, and it would be faster to use unsafe.
String::insert_str
unsafe
The last commit adds StringExt::insert_str() and it is breaking change. Withouth the last commit, this patch is non-breaking change.
StringExt::insert_str()
cc: #26
String::insert_str
is added since Rust 1.16.0, and it would be faster to useunsafe
.The last commit adds
StringExt::insert_str()
and it is breaking change. Withouth the last commit, this patch is non-breaking change.cc: #26