Skip to content

Commit

Permalink
Clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
sthiele committed Feb 12, 2024
1 parent fd7e340 commit a08d3f6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1124,7 +1124,7 @@ fn write_output_var(mut buf: impl Write, id: &str, annos: &[Annotation]) -> Resu
fn write_output_array(mut buf: impl Write, id: &str, annos: &[Annotation]) -> Result<()> {
for a in annos {
if a.id == "output_array" {
match a.expressions.get(0) {
match a.expressions.first() {
Some(AnnExpr::Expr(Expr::ArrayOfSet(v))) => {
for (pos, e) in v.iter().enumerate() {
match e {
Expand Down

0 comments on commit a08d3f6

Please sign in to comment.