]> git.lizzy.rs Git - rust.git/commitdiff
Auto merge of #50217 - z4v1er:patch-1, r=aturon
authorbors <bors@rust-lang.org>
Sun, 29 Apr 2018 14:08:59 +0000 (14:08 +0000)
committerbors <bors@rust-lang.org>
Sun, 29 Apr 2018 14:08:59 +0000 (14:08 +0000)
Fix typo

src/libcore/slice/mod.rs

index cc42acd77aed1c29b6ed847b4cbc53e344d15fcb..83e8a6e4b683a93f59e3fcd8d01b9409e5fee1f6 100644 (file)
@@ -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.