about summary refs log tree commit diff
diff options
context:
space:
mode:
authorMichael Goulet <michael@errs.io>2022-07-29 00:17:05 +0000
committerJosh Stone <jistone@redhat.com>2022-10-08 14:40:11 -0700
commitf73da694c66b08fc848e23d9f7d07fb757c23dcf (patch)
tree78c8f24cc2cef93d0bc8ee26288033124b46fa17
parentd223452d10d9d7c0a191b76ecbcb7951ac186f09 (diff)
downloadrust-f73da694c66b08fc848e23d9f7d07fb757c23dcf.tar.gz
rust-f73da694c66b08fc848e23d9f7d07fb757c23dcf.zip
EscapeAscii is not an ExactSizeIterator
(cherry picked from commit 8abcd4d23538aa1e4c1164bca2c96ce0d7eb57ed)
-rw-r--r--library/core/src/slice/ascii.rs2
1 files changed, 0 insertions, 2 deletions
diff --git a/library/core/src/slice/ascii.rs b/library/core/src/slice/ascii.rs
index 63715a6b86b..5e5399acc1b 100644
--- a/library/core/src/slice/ascii.rs
+++ b/library/core/src/slice/ascii.rs
@@ -215,8 +215,6 @@ impl<'a> iter::DoubleEndedIterator for EscapeAscii<'a> {
     }
 }
 #[stable(feature = "inherent_ascii_escape", since = "1.60.0")]
-impl<'a> iter::ExactSizeIterator for EscapeAscii<'a> {}
-#[stable(feature = "inherent_ascii_escape", since = "1.60.0")]
 impl<'a> iter::FusedIterator for EscapeAscii<'a> {}
 #[stable(feature = "inherent_ascii_escape", since = "1.60.0")]
 impl<'a> fmt::Display for EscapeAscii<'a> {