Auto merge of #50217 - z4v1er:patch-1, r=aturon

Fix typo
This commit is contained in:
bors 2018-04-29 14:08:59 +00:00
commit 96e182833b

View file

@ -880,7 +880,6 @@ macro_rules! slice_core_methods { () => {
#[inline]
pub fn split_last(&self) -> Option<(&T, &[T])> {
SliceExt::split_last(self)
}
/// Returns the last and all the rest of the elements of the slice, or `None` if it is empty.