We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 51bbd69 commit f20b030Copy full SHA for f20b030
src/libcore/str/mod.rs
@@ -331,7 +331,6 @@ pub fn from_utf8(v: &[u8]) -> Result<&str, Utf8Error> {
331
/// ```
332
/// See the docs for [`Utf8Error`][error] for more details on the kinds of
333
/// errors that can be returned.
334
-///
335
#[stable(feature = "str_mut_extras", since = "1.20.0")]
336
pub fn from_utf8_mut(v: &mut [u8]) -> Result<&mut str, Utf8Error> {
337
run_utf8_validation(v)?;
0 commit comments