Skip to content

Commit fcab1f9

Browse files
committed
Fix incorrect documentation for str::{split_at, split_at_mut}
1 parent 9a12971 commit fcab1f9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/libcore/str/mod.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -2642,7 +2642,7 @@ impl str {
26422642
/// # Panics
26432643
///
26442644
/// Panics if `mid` is not on a UTF-8 code point boundary, or if it is
2645-
/// beyond the last code point of the string slice.
2645+
/// past the end of the last code point of the string slice.
26462646
///
26472647
/// # Examples
26482648
///
@@ -2683,7 +2683,7 @@ impl str {
26832683
/// # Panics
26842684
///
26852685
/// Panics if `mid` is not on a UTF-8 code point boundary, or if it is
2686-
/// beyond the last code point of the string slice.
2686+
/// past the end of the last code point of the string slice.
26872687
///
26882688
/// # Examples
26892689
///

0 commit comments

Comments
 (0)