Skip to content
Merged

Fix typo #31008

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 @@ -302,7 +302,7 @@ impl str {
/// # Safety
///
/// Callers of this function are responsible that three preconditions are
/// satisifed:
/// satisfied:
///
/// * `begin` must come before `end`.
/// * `begin` and `end` must be byte positions within the string slice.
Expand Down Expand Up @@ -345,7 +345,7 @@ impl str {
/// # Safety
///
/// Callers of this function are responsible that three preconditions are
/// satisifed:
/// satisfied:
///
/// * `begin` must come before `end`.
/// * `begin` and `end` must be byte positions within the string slice.
Expand Down