]> git.lizzy.rs Git - rust.git/blobdiff - src/libstd_unicode/u_str.rs
Merge branch 'refactor-select' of https://github.com/aravind-pg/rust into update...
[rust.git] / src / libstd_unicode / u_str.rs
index 0046e3f7bd0938ca379cbe00b31b4fd022e0d3de..a72e1210d93f61c13279025ada8387668c6a8cd8 100644 (file)
@@ -76,6 +76,7 @@ fn trim_right(&self) -> &str {
 
 /// Iterator adaptor for encoding `char`s to UTF-16.
 #[derive(Clone)]
+#[allow(missing_debug_implementations)]
 pub struct Utf16Encoder<I> {
     chars: I,
     extra: u16,
@@ -126,7 +127,6 @@ fn size_hint(&self) -> (usize, Option<usize>) {
     }
 }
 
-#[unstable(feature = "fused", issue = "35602")]
 impl<I> FusedIterator for Utf16Encoder<I>
     where I: FusedIterator<Item = char> {}
 
@@ -185,5 +185,5 @@ fn next_back(&mut self) -> Option<&'a str> {
     }
 }
 
-#[unstable(feature = "fused", issue = "35602")]
+#[stable(feature = "fused", since = "1.26.0")]
 impl<'a> FusedIterator for SplitWhitespace<'a> {}