Fix typo
This commit is contained in:
parent
08886499cf
commit
d449ec0195
@ -302,7 +302,7 @@ impl str {
|
|||||||
/// # Safety
|
/// # Safety
|
||||||
///
|
///
|
||||||
/// Callers of this function are responsible that three preconditions are
|
/// Callers of this function are responsible that three preconditions are
|
||||||
/// satisifed:
|
/// satisfied:
|
||||||
///
|
///
|
||||||
/// * `begin` must come before `end`.
|
/// * `begin` must come before `end`.
|
||||||
/// * `begin` and `end` must be byte positions within the string slice.
|
/// * `begin` and `end` must be byte positions within the string slice.
|
||||||
@ -345,7 +345,7 @@ impl str {
|
|||||||
/// # Safety
|
/// # Safety
|
||||||
///
|
///
|
||||||
/// Callers of this function are responsible that three preconditions are
|
/// Callers of this function are responsible that three preconditions are
|
||||||
/// satisifed:
|
/// satisfied:
|
||||||
///
|
///
|
||||||
/// * `begin` must come before `end`.
|
/// * `begin` must come before `end`.
|
||||||
/// * `begin` and `end` must be byte positions within the string slice.
|
/// * `begin` and `end` must be byte positions within the string slice.
|
||||||
|
Loading…
Reference in New Issue
Block a user