Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/libcollections/str.rs
Original file line number Diff line number Diff line change
Expand Up @@ -305,7 +305,7 @@ impl str {
/// satisifed:
///
/// * `begin` must come before `end`.
/// * `begin` and `end` must be bye positions within the string slice.
/// * `begin` and `end` must be byte positions within the string slice.
/// * `begin` and `end` must lie on UTF-8 sequence boundaries.
///
/// # Examples
Expand Down Expand Up @@ -348,7 +348,7 @@ impl str {
/// satisifed:
///
/// * `begin` must come before `end`.
/// * `begin` and `end` must be bye positions within the string slice.
/// * `begin` and `end` must be byte positions within the string slice.
/// * `begin` and `end` must lie on UTF-8 sequence boundaries.
#[stable(feature = "str_slice_mut", since = "1.5.0")]
#[inline]
Expand Down