Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
impl: improve ByteVec::into_string_lossy
It now re-uses to_str_lossy() (which is more efficient than looping over v.chars() like this did), and no longer allocates in the case where it was already valid utf-8. Closes #76
- Loading branch information