From: bors Date: Sun, 29 Apr 2018 14:08:59 +0000 (+0000) Subject: Auto merge of #50217 - z4v1er:patch-1, r=aturon X-Git-Url: https://git.lizzy.rs/?a=commitdiff_plain;h=96e182833b5c17da2481e6edf5bfdb75ad004e6e;hp=d450f991388021cd023d879804dc3bc9b56b3a21;p=rust.git Auto merge of #50217 - z4v1er:patch-1, r=aturon Fix typo --- diff --git a/src/libcore/slice/mod.rs b/src/libcore/slice/mod.rs index cc42acd77ae..83e8a6e4b68 100644 --- a/src/libcore/slice/mod.rs +++ b/src/libcore/slice/mod.rs @@ -880,7 +880,6 @@ pub fn split_first_mut(&mut self) -> Option<(&mut T, &mut [T])> { #[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.