From d5e1e8dc39c88d87f82c86f787cbbd3608073500 Mon Sep 17 00:00:00 2001 From: Venus Xeon-Blonde Date: Sun, 5 Nov 2023 21:18:39 -0500 Subject: [PATCH] clear up some weirdness that cargo fmt caused --- wright/src/parser/util/map.rs | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/wright/src/parser/util/map.rs b/wright/src/parser/util/map.rs index a5081519..eee3c4d3 100644 --- a/wright/src/parser/util/map.rs +++ b/wright/src/parser/util/map.rs @@ -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)),