mirror of
https://github.com/gfx-rs/wgpu.git
synced 2026-04-22 03:02:01 -04:00
refactor(wgsl-in): remove unnecessary return Ok(())
This commit is contained in:
@@ -1625,7 +1625,6 @@ impl Parser {
|
||||
(Token::Separator(';'), _) => {
|
||||
let _ = lexer.next();
|
||||
self.pop_rule_span(lexer);
|
||||
return Ok(());
|
||||
}
|
||||
(Token::Paren('{'), _) => {
|
||||
let (inner, span) = self.block(lexer, ctx)?;
|
||||
@@ -1634,7 +1633,6 @@ impl Parser {
|
||||
span,
|
||||
});
|
||||
self.pop_rule_span(lexer);
|
||||
return Ok(());
|
||||
}
|
||||
(Token::Word(word), _) => {
|
||||
let kind = match word {
|
||||
|
||||
Reference in New Issue
Block a user