pub unsafe fn from_raw_parts(buf: *mut u8, length: usize, capacity: usize) -> String {
        unsafe { String { vec: Vec::from_raw_parts(buf, length, capacity) } }
    }
Appends a given string slice onto the end of this `String`.

# Examples

Basic usage:

```
let mut s = String::from("foo");
benchmarks/haystacks/code/rust-library.rs