@@ -57,6 +57,7 @@ pub use tables::{UnicodeVersion, UNICODE_VERSION};
5757/// [`to_lowercase`]: ../../std/primitive.char.html#method.to_lowercase
5858/// [`char`]: ../../std/primitive.char.html
5959#[ stable( feature = "rust1" , since = "1.0.0" ) ]
60+ #[ derive( Debug ) ]
6061pub struct ToLowercase ( CaseMappingIter ) ;
6162
6263#[ stable( feature = "rust1" , since = "1.0.0" ) ]
@@ -78,6 +79,7 @@ impl FusedIterator for ToLowercase {}
7879/// [`to_uppercase`]: ../../std/primitive.char.html#method.to_uppercase
7980/// [`char`]: ../../std/primitive.char.html
8081#[ stable( feature = "rust1" , since = "1.0.0" ) ]
82+ #[ derive( Debug ) ]
8183pub struct ToUppercase ( CaseMappingIter ) ;
8284
8385#[ stable( feature = "rust1" , since = "1.0.0" ) ]
@@ -91,6 +93,7 @@ impl Iterator for ToUppercase {
9193#[ unstable( feature = "fused" , issue = "35602" ) ]
9294impl FusedIterator for ToUppercase { }
9395
96+ #[ derive( Debug ) ]
9497enum CaseMappingIter {
9598 Three ( char , char , char ) ,
9699 Two ( char , char ) ,
@@ -1450,7 +1453,7 @@ impl char {
14501453
14511454/// An iterator that decodes UTF-16 encoded code points from an iterator of `u16`s.
14521455#[ stable( feature = "decode_utf16" , since = "1.9.0" ) ]
1453- #[ derive( Clone ) ]
1456+ #[ derive( Clone , Debug ) ]
14541457pub struct DecodeUtf16 < I >
14551458 where I : Iterator < Item = u16 >
14561459{
0 commit comments