1
Fork 0

Auto merge of #30308 - tsion:typo, r=sanxiyn

r? @steveklabnik
This commit is contained in:
bors 2015-12-11 09:56:51 +00:00
commit 89ec45ced4

View file

@ -305,7 +305,7 @@ impl str {
/// satisifed: /// satisifed:
/// ///
/// * `begin` must come before `end`. /// * `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. /// * `begin` and `end` must lie on UTF-8 sequence boundaries.
/// ///
/// # Examples /// # Examples
@ -348,7 +348,7 @@ impl str {
/// satisifed: /// satisifed:
/// ///
/// * `begin` must come before `end`. /// * `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. /// * `begin` and `end` must lie on UTF-8 sequence boundaries.
#[stable(feature = "str_slice_mut", since = "1.5.0")] #[stable(feature = "str_slice_mut", since = "1.5.0")]
#[inline] #[inline]