Resolve issues with Str introduced when it became ownable
authorMatt Corallo <git@bluematt.me>
Fri, 30 Apr 2021 23:09:05 +0000 (23:09 +0000)
committerMatt Corallo <git@bluematt.me>
Fri, 30 Apr 2021 23:41:31 +0000 (23:41 +0000)
When converting from a Str to an &str, we previously took ownership
of the Str, copied the pointer to its characters to an &str and
returned the &str. This made the returned bytes always unreadable.

Further, there is now no reason to use Vec_u8Z for owned Strs, so
we swap for Str as well.


No differences found