]> git.lizzy.rs Git - rust.git/blobdiff - src/liballoc/string.rs
Rollup merge of #61453 - lzutao:nouse-featuregate-integer_atomics, r=sfackler
[rust.git] / src / liballoc / string.rs
index e74d37c1c2bae1b676b4c14a1dc08f4cb107efa1..7f7722548f581df43deca22d09a91d2950158911 100644 (file)
@@ -2385,10 +2385,6 @@ fn next(&mut self) -> Option<char> {
     fn size_hint(&self) -> (usize, Option<usize>) {
         self.iter.size_hint()
     }
-    #[inline]
-    fn last(mut self) -> Option<char> {
-        self.next_back()
-    }
 }
 
 #[stable(feature = "drain", since = "1.6.0")]