collections::str::from_utf8_unchecked_mut
Function collections::str::from_utf8_unchecked_mut
pub unsafe fn from_utf8_unchecked_mut(v: &mut [u8]) -> &mut str
???? This is a nightly-only experimental API. (str_mut_extras #41119)
Converts a slice of bytes to a string slice without checking that the string contains valid UTF-8; mutable version.
See the immutable version, from_utf8_unchecked()
, for more information.
© 2010 The Rust Project Developers
Licensed under the Apache License, Version 2.0 or the MIT license, at your option.
https://doc.rust-lang.org/collections/str/fn.from_utf8_unchecked_mut.html