-
Notifications
You must be signed in to change notification settings - Fork 95
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Make rustfmt work in match_sharedterm! (#1677)
* Make rustfmt work in match_sharedterm! macros can have syntax that rustfmt doens't know how to deal with, so it only triggers on macros that 1. are called with `()` or `[]` delimiters (not `{}`) 2. contain only valid rust syntax our match_sharedterm! failed on both those counts, so this commit fixes that. we move the `else` clause back inside the match statement as a wildcard arm, and use the `match` keyword so that rustfmt understands how we want the code formatted * Update core/src/term/mod.rs Co-authored-by: Yann Hamdaoui <[email protected]> --------- Co-authored-by: Yann Hamdaoui <[email protected]>
- Loading branch information
Showing
8 changed files
with
1,010 additions
and
991 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.