Skip to content

Commit

Permalink
Rollup merge of rust-lang#48629 - strake:char, r=alexcrichton
Browse files Browse the repository at this point in the history
  • Loading branch information
Manishearth committed Mar 2, 2018
2 parents d40c195 + 5ac4f62 commit d7b5985
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/libstd_unicode/char.rs
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ pub use version::UnicodeVersion;
/// [`to_lowercase`]: ../../std/primitive.char.html#method.to_lowercase
/// [`char`]: ../../std/primitive.char.html
#[stable(feature = "rust1", since = "1.0.0")]
#[derive(Debug)]
#[derive(Debug, Clone)]
pub struct ToLowercase(CaseMappingIter);

#[stable(feature = "rust1", since = "1.0.0")]
Expand All @@ -81,7 +81,7 @@ impl FusedIterator for ToLowercase {}
/// [`to_uppercase`]: ../../std/primitive.char.html#method.to_uppercase
/// [`char`]: ../../std/primitive.char.html
#[stable(feature = "rust1", since = "1.0.0")]
#[derive(Debug)]
#[derive(Debug, Clone)]
pub struct ToUppercase(CaseMappingIter);

#[stable(feature = "rust1", since = "1.0.0")]
Expand All @@ -95,7 +95,7 @@ impl Iterator for ToUppercase {
#[unstable(feature = "fused", issue = "35602")]
impl FusedIterator for ToUppercase {}

#[derive(Debug)]
#[derive(Debug, Clone)]
enum CaseMappingIter {
Three(char, char, char),
Two(char, char),
Expand Down

0 comments on commit d7b5985

Please sign in to comment.