Skip to content

Commit f73da69

Browse files
compiler-errorscuviper
authored andcommitted
EscapeAscii is not an ExactSizeIterator
(cherry picked from commit 8abcd4d)
1 parent d223452 commit f73da69

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

Diff for: library/core/src/slice/ascii.rs

-2
Original file line numberDiff line numberDiff line change
@@ -215,8 +215,6 @@ impl<'a> iter::DoubleEndedIterator for EscapeAscii<'a> {
215215
}
216216
}
217217
#[stable(feature = "inherent_ascii_escape", since = "1.60.0")]
218-
impl<'a> iter::ExactSizeIterator for EscapeAscii<'a> {}
219-
#[stable(feature = "inherent_ascii_escape", since = "1.60.0")]
220218
impl<'a> iter::FusedIterator for EscapeAscii<'a> {}
221219
#[stable(feature = "inherent_ascii_escape", since = "1.60.0")]
222220
impl<'a> fmt::Display for EscapeAscii<'a> {

0 commit comments

Comments
 (0)