We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f903abb commit daafbd1Copy full SHA for daafbd1
compiler/parser/src/lexer.rs
@@ -117,14 +117,6 @@ where
117
next
118
}
119
120
- fn fill(&mut self) {
121
- while self.window[0].is_none() {
122
- if self.slide().is_none() {
123
- return;
124
- }
125
126
127
-
128
fn change_first(&mut self, ch: char) {
129
*self.window.first_mut().expect("never empty") = Some(ch);
130
@@ -241,7 +233,9 @@ where
241
233
location: start,
242
234
window: CharWindow::new(input),
243
235
};
244
- lxr.window.fill();
236
+ lxr.window.slide();
237
238
245
239
// Start at top row (=1) left column (=1)
246
240
lxr.location.reset();
247
lxr
0 commit comments