Function collections::str::raw::from_utf8_owned[src]

pub unsafe fn from_utf8_owned(v: Vec<u8>) -> String

Converts an owned vector of bytes to a new owned string. This assumes that the utf-8-ness of the vector has already been validated