Rollup merge of #67478 - brunobell:master, r=Centril

Fix src/libcore/str/mod.rs doc comments

Fix grammar in src/libcore/str/mod.rs doc comments. r? @steveklabnik
This commit is contained in:
Mazdak Farrokhzad 2019-12-21 15:29:50 +01:00 committed by GitHub
commit 466fdeaed5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -2325,7 +2325,7 @@ pub fn get_mut<I: SliceIndex<str>>(&mut self, i: I) -> Option<&mut I::Output> {
i.get_mut(self)
}
/// Returns a unchecked subslice of `str`.
/// Returns an unchecked subslice of `str`.
///
/// This is the unchecked alternative to indexing the `str`.
///