fn comment(&mut self) -> bool {
        if !self.eat('#') { return false }
        for (_, ch) in self.cur.by_ref() {
            if ch == '\n' { break }
        }
        true
    }
// Consumes the rest of the line after a comment character
Consumes the rest of the line after a comment character
Consumes the rest of the line after a comment character
fn comment(&mut self) -> bool {
        if !self.eat('#') { return false }
        for (_, ch) in self.cur.by_ref() {
            if ch == '\n' { break }
        }
        true
    }
fn comment ( & mut self ) -> bool { if ! self . eat ( '#' ) { return false } for ( _ , ch ) in self . cur . by_ref ( ) { if ch == '\n' { break } } true }
Consumes the rest of the line after a comment character
Consumes the rest of the line after a comment character
&mut self
&mut self