Skip to content

Commit 8f261a6

Browse files
Update since annotation for ExactSizeIterator for ToUppercase/Lowercase
This functionality was added in 1.35.0, not 1.34.0.
1 parent 911a633 commit 8f261a6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/libcore/char/mod.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -397,7 +397,7 @@ impl Iterator for ToLowercase {
397397
#[stable(feature = "fused", since = "1.26.0")]
398398
impl FusedIterator for ToLowercase {}
399399

400-
#[stable(feature = "exact_size_case_mapping_iter", since = "1.34.0")]
400+
#[stable(feature = "exact_size_case_mapping_iter", since = "1.35.0")]
401401
impl ExactSizeIterator for ToLowercase {}
402402

403403
/// Returns an iterator that yields the uppercase equivalent of a `char`.
@@ -425,7 +425,7 @@ impl Iterator for ToUppercase {
425425
#[stable(feature = "fused", since = "1.26.0")]
426426
impl FusedIterator for ToUppercase {}
427427

428-
#[stable(feature = "exact_size_case_mapping_iter", since = "1.34.0")]
428+
#[stable(feature = "exact_size_case_mapping_iter", since = "1.35.0")]
429429
impl ExactSizeIterator for ToUppercase {}
430430

431431
#[derive(Debug, Clone)]

0 commit comments

Comments
 (0)