remove useless operations

This commit is contained in:
Daniel Eades 2022-12-30 10:02:45 +00:00
parent 0a0817905e
commit aa90d02079
2 changed files with 2 additions and 2 deletions

View file

@ -54,7 +54,7 @@ impl Output {
}
pub(crate) fn token(&mut self, kind: SyntaxKind, n_tokens: u8) {
let e = ((kind as u16 as u32) << 16) | ((n_tokens as u32) << 8) | (0 << 4) | 1;
let e = ((kind as u16 as u32) << 16) | ((n_tokens as u32) << 8) | 1;
self.event.push(e)
}