Fix incorrect documentation for str::{split_at, split_at_mut}
This commit is contained in:
parent
9a12971da5
commit
fcab1f947b
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
///
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue