File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -119,7 +119,7 @@ pub type LexResult = Result<Spanned, LexicalError>;
119119
120120pub fn make_tokenizer < ' a > ( source : & ' a str ) -> impl Iterator < Item = LexResult > + ' a {
121121 let nlh = NewlineHandler :: new ( source. chars ( ) ) ;
122- let lch = LineContinationHandler :: new ( nlh) ;
122+ let lch = LineContinuationHandler :: new ( nlh) ;
123123 Lexer :: new ( lch)
124124}
125125
@@ -181,18 +181,18 @@ where
181181}
182182
183183// Glues \ and \n into a single line:
184- pub struct LineContinationHandler < T : Iterator < Item = char > > {
184+ pub struct LineContinuationHandler < T : Iterator < Item = char > > {
185185 source : T ,
186186 chr0 : Option < char > ,
187187 chr1 : Option < char > ,
188188}
189189
190- impl < T > LineContinationHandler < T >
190+ impl < T > LineContinuationHandler < T >
191191where
192192 T : Iterator < Item = char > ,
193193{
194194 pub fn new ( source : T ) -> Self {
195- let mut nlh = LineContinationHandler {
195+ let mut nlh = LineContinuationHandler {
196196 source,
197197 chr0 : None ,
198198 chr1 : None ,
@@ -210,7 +210,7 @@ where
210210 }
211211}
212212
213- impl < T > Iterator for LineContinationHandler < T >
213+ impl < T > Iterator for LineContinuationHandler < T >
214214where
215215 T : Iterator < Item = char > ,
216216{
You can’t perform that action at this time.
0 commit comments