[optimize]: remove the return value option #46
Labels
enhancement
New feature or request
good first issue
Good for newcomers
help wanted
Extra attention is needed
shaun-rs/src/parser/mod.rs
Lines 1226 to 1231 in 7974f22
Now in parse_expression function, it's return value type is
Result<Option<Expression>>
, but in fact, we will not return None, So use Option is redundant.remove the
Option
, and change other place which use this function.The text was updated successfully, but these errors were encountered: