Skip to content

Commit

Permalink
clear up some weirdness that cargo fmt caused
Browse files Browse the repository at this point in the history
  • Loading branch information
vcfxb committed Nov 6, 2023
1 parent f3b9fd8 commit d5e1e8d
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions wright/src/parser/util/map.rs
Original file line number Diff line number Diff line change
Expand Up @@ -27,11 +27,7 @@ where
let parse_result = (parser_function)(parse_state);

// Map the node type
parse_result.map(
|ParserSuccess {
updated_parser_state,
ast_node,
}| {
parse_result.map(| ParserSuccess { updated_parser_state, ast_node} | {
ParserSuccess {
updated_parser_state,
ast_node: ((map_function)(ast_node)),
Expand Down

0 comments on commit d5e1e8d

Please sign in to comment.