Skip to content

Commit

Permalink
Update since annotation for ExactSizeIterator for ToUppercase/Lowercase
Browse files Browse the repository at this point in the history
This functionality was added in 1.35.0, not 1.34.0.
  • Loading branch information
KamilaBorowska committed Mar 19, 2019
1 parent 911a633 commit 8f261a6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/libcore/char/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -397,7 +397,7 @@ impl Iterator for ToLowercase {
#[stable(feature = "fused", since = "1.26.0")]
impl FusedIterator for ToLowercase {}

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

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

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

#[derive(Debug, Clone)]
Expand Down

0 comments on commit 8f261a6

Please sign in to comment.