mirror of
https://github.com/storytold/wgpu.git
synced 2026-11-21 06:50:59 +01:00
refactor(wgsl-in): remove unnecessary return Ok(())
This commit is contained in:
1 parent
3db0e46f7d
commit
d4b673c88a
1 file changed
-2
@@ -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