pub const fn new() -> String {
        String { vec: Vec::new() }
    }
Converts a vector of bytes to a `String`.

A string ([`String`]) is made of bytes ([`u8`]), and a vector of bytes
([`Vec<u8>`]) is made of bytes, so this function converts between the
two. Not all byte slices are valid `String`s, however: `String`
requires that it is valid UTF-8. `from_utf8()` checks to ensure that
the bytes are valid UTF-8, and then does the conversion.

If you are sure that the byte slice is valid UTF-8, and you don't want
to incur the overhead of the validity check, there is an unsafe version
of this function, [`from_utf8_unchecked`], which has the same behavior
but skips the check.

This method will take care to not cop
benchmarks/haystacks/code/rust-library.rs