We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7417110 commit fc6af81Copy full SHA for fc6af81
library/std/src/sys_common/wtf8.rs
@@ -25,7 +25,7 @@ use crate::char;
25
use crate::collections::TryReserveError;
26
use crate::fmt;
27
use crate::hash::{Hash, Hasher};
28
-use crate::iter::FromIterator;
+use crate::iter::{FromIterator, FusedIterator};
29
use crate::mem;
30
use crate::ops;
31
use crate::rc::Rc;
@@ -899,6 +899,9 @@ impl<'a> Iterator for EncodeWide<'a> {
899
}
900
901
902
+#[stable(feature = "encode_wide_fused_iterator", since = "1.62.0")]
903
+impl FusedIterator for EncodeWide<'_> {}
904
+
905
impl Hash for CodePoint {
906
#[inline]
907
fn hash<H: Hasher>(&self, state: &mut H) {
0 commit comments