Function std::str::from_utf8_mut [] [src]

pub fn from_utf8_mut(v: &mut [u8]) -> Result<&mut str, Utf8Error>
🔬 This is a nightly-only experimental API. (str_mut_extras #41119)

Converts a mutable slice of bytes to a mutable string slice.