We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
EscapeUnicode
EscapeDefault
ExactSizeIterator
1 parent d5759a3 commit c30fa92Copy full SHA for c30fa92
src/libcore/char.rs
@@ -483,6 +483,9 @@ impl Iterator for EscapeUnicode {
483
}
484
485
486
+#[stable(feature = "exact_size_escape", since = "1.11.0")]
487
+impl ExactSizeIterator for EscapeUnicode { }
488
+
489
/// An iterator that yields the literal escape code of a `char`.
490
///
491
/// This `struct` is created by the [`escape_default()`] method on [`char`]. See
@@ -578,6 +581,9 @@ impl Iterator for EscapeDefault {
578
581
579
582
580
583
584
585
+impl ExactSizeIterator for EscapeDefault { }
586
587
/// An iterator over `u8` entries represending the UTF-8 encoding of a `char`
588
/// value.
589
0 commit comments