Skip to content

Commit

Permalink
Change match block style
Browse files Browse the repository at this point in the history
  • Loading branch information
lens0021 authored Nov 19, 2024
1 parent 8a03497 commit b0cd82b
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/modules/imports/import.rs
Original file line number Diff line number Diff line change
Expand Up @@ -162,8 +162,10 @@ impl SyntaxModule<ParserMetadata> for Import {
if token(meta, "}").is_ok() {
break
}
},
Err(_) => return error!(meta, meta.get_current_token(), "Expected ',' or '}' after import"),
}
Err(_) => {
return error!(meta, meta.get_current_token(), "Expected ',' or '}' after import");
}
}
}
}
Expand Down

0 comments on commit b0cd82b

Please sign in to comment.