We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fa55f66 commit 33ae62cCopy full SHA for 33ae62c
library/alloc/src/string.rs
@@ -1413,7 +1413,7 @@ impl String {
1413
self.len() == 0
1414
}
1415
1416
- /// Splits the string into two at the given index.
+ /// Splits the string into two at the given byte index.
1417
///
1418
/// Returns a newly allocated `String`. `self` contains bytes `[0, at)`, and
1419
/// the returned `String` contains bytes `[at, len)`. `at` must be on the
0 commit comments