@@ -57,6 +57,7 @@ pub use tables::{UnicodeVersion, UNICODE_VERSION};
57
57
/// [`to_lowercase`]: ../../std/primitive.char.html#method.to_lowercase
58
58
/// [`char`]: ../../std/primitive.char.html
59
59
#[ stable( feature = "rust1" , since = "1.0.0" ) ]
60
+ #[ derive( Debug ) ]
60
61
pub struct ToLowercase ( CaseMappingIter ) ;
61
62
62
63
#[ stable( feature = "rust1" , since = "1.0.0" ) ]
@@ -78,6 +79,7 @@ impl FusedIterator for ToLowercase {}
78
79
/// [`to_uppercase`]: ../../std/primitive.char.html#method.to_uppercase
79
80
/// [`char`]: ../../std/primitive.char.html
80
81
#[ stable( feature = "rust1" , since = "1.0.0" ) ]
82
+ #[ derive( Debug ) ]
81
83
pub struct ToUppercase ( CaseMappingIter ) ;
82
84
83
85
#[ stable( feature = "rust1" , since = "1.0.0" ) ]
@@ -91,6 +93,7 @@ impl Iterator for ToUppercase {
91
93
#[ unstable( feature = "fused" , issue = "35602" ) ]
92
94
impl FusedIterator for ToUppercase { }
93
95
96
+ #[ derive( Debug ) ]
94
97
enum CaseMappingIter {
95
98
Three ( char , char , char ) ,
96
99
Two ( char , char ) ,
@@ -1450,7 +1453,7 @@ impl char {
1450
1453
1451
1454
/// An iterator that decodes UTF-16 encoded code points from an iterator of `u16`s.
1452
1455
#[ stable( feature = "decode_utf16" , since = "1.9.0" ) ]
1453
- #[ derive( Clone ) ]
1456
+ #[ derive( Clone , Debug ) ]
1454
1457
pub struct DecodeUtf16 < I >
1455
1458
where I : Iterator < Item = u16 >
1456
1459
{
0 commit comments