From 011df4ac88b5ef31443f2bde8eea29b917445099 Mon Sep 17 00:00:00 2001 From: z4v1er <38393857+z4v1er@users.noreply.github.com> Date: Wed, 25 Apr 2018 13:51:51 +0300 Subject: [PATCH] Fix type --- src/libcore/slice/mod.rs | 1 - 1 file changed, 1 deletion(-) diff --git a/src/libcore/slice/mod.rs b/src/libcore/slice/mod.rs index cc42acd77aed1..83e8a6e4b683a 100644 --- a/src/libcore/slice/mod.rs +++ b/src/libcore/slice/mod.rs @@ -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.