Skip to content

Commit

Permalink
clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
nbittich committed Aug 29, 2024
1 parent 33fdd62 commit 79c047c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion adana-script/src/parser.rs
Original file line number Diff line number Diff line change
Expand Up @@ -894,7 +894,7 @@ where
tag_no_space("{"),
terminated(opt(&parser), tag_no_space("}")),
),
|exprs| if let Some(exprs) = exprs { exprs } else { vec![] },
|exprs| exprs.unwrap_or_default(),
)(s)
}
}
Expand Down

0 comments on commit 79c047c

Please sign in to comment.