re-instate comment that was mysteriously disappeared
This commit is contained in:
parent
249b5c0b4a
commit
aa3b4c668e
1 changed files with 1 additions and 0 deletions
|
|
@ -1467,6 +1467,7 @@ impl<'a> StringReader<'a> {
|
|||
|
||||
fn peeking_at_comment(&self) -> bool {
|
||||
(self.curr_is('/') && self.nextch_is('/')) || (self.curr_is('/') && self.nextch_is('*')) ||
|
||||
// consider shebangs comments, but not inner attributes
|
||||
(self.curr_is('#') && self.nextch_is('!') && !self.nextnextch_is('['))
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue