1
Fork 0

Fix incorrect documentation for str::{split_at, split_at_mut}

This commit is contained in:
Jacob Greenfield 2020-03-30 15:48:52 -04:00
parent 9a12971da5
commit fcab1f947b
No known key found for this signature in database
GPG key ID: 705885D424D3D206

View file

@ -2642,7 +2642,7 @@ impl str {
/// # Panics
///
/// Panics if `mid` is not on a UTF-8 code point boundary, or if it is
/// beyond the last code point of the string slice.
/// past the end of the last code point of the string slice.
///
/// # Examples
///
@ -2683,7 +2683,7 @@ impl str {
/// # Panics
///
/// Panics if `mid` is not on a UTF-8 code point boundary, or if it is
/// beyond the last code point of the string slice.
/// past the end of the last code point of the string slice.
///
/// # Examples
///