File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -119,7 +119,7 @@ pub type LexResult = Result<Spanned, LexicalError>;
119
119
120
120
pub fn make_tokenizer < ' a > ( source : & ' a str ) -> impl Iterator < Item = LexResult > + ' a {
121
121
let nlh = NewlineHandler :: new ( source. chars ( ) ) ;
122
- let lch = LineContinationHandler :: new ( nlh) ;
122
+ let lch = LineContinuationHandler :: new ( nlh) ;
123
123
Lexer :: new ( lch)
124
124
}
125
125
@@ -181,18 +181,18 @@ where
181
181
}
182
182
183
183
// Glues \ and \n into a single line:
184
- pub struct LineContinationHandler < T : Iterator < Item = char > > {
184
+ pub struct LineContinuationHandler < T : Iterator < Item = char > > {
185
185
source : T ,
186
186
chr0 : Option < char > ,
187
187
chr1 : Option < char > ,
188
188
}
189
189
190
- impl < T > LineContinationHandler < T >
190
+ impl < T > LineContinuationHandler < T >
191
191
where
192
192
T : Iterator < Item = char > ,
193
193
{
194
194
pub fn new ( source : T ) -> Self {
195
- let mut nlh = LineContinationHandler {
195
+ let mut nlh = LineContinuationHandler {
196
196
source,
197
197
chr0 : None ,
198
198
chr1 : None ,
@@ -210,7 +210,7 @@ where
210
210
}
211
211
}
212
212
213
- impl < T > Iterator for LineContinationHandler < T >
213
+ impl < T > Iterator for LineContinuationHandler < T >
214
214
where
215
215
T : Iterator < Item = char > ,
216
216
{
You can’t perform that action at this time.
0 commit comments