File tree Expand file tree Collapse file tree
time-macros/src/format_description
time/src/format_description/parse Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -128,7 +128,7 @@ pub(super) fn lex<const VERSION: u8>(
128128) -> Lexed < impl Iterator < Item = Result < Token < ' _ > , Error > > > {
129129 assert ! ( version!( 1 ..=2 ) ) ;
130130
131- let mut depth: u8 = 0 ;
131+ let mut depth: u32 = 0 ;
132132 let mut iter = attach_location ( input. iter ( ) , proc_span) . peekable ( ) ;
133133 let mut second_bracket_location = None ;
134134
Original file line number Diff line number Diff line change @@ -159,7 +159,7 @@ pub(super) fn lex<const VERSION: usize>(
159159) -> Lexed < impl Iterator < Item = Result < Token < ' _ > , Error > > > {
160160 validate_version ! ( VERSION ) ;
161161
162- let mut depth: u8 = 0 ;
162+ let mut depth: u32 = 0 ;
163163 let mut iter = attach_location ( input. iter ( ) ) . peekable ( ) ;
164164 let mut second_bracket_location = None ;
165165
You can’t perform that action at this time.
0 commit comments