forked from rust-lang/rustfmt
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Strip leading
|
in match arm patterns
This adresses issue rust-lang#2621 This commit turns out to be a partial revert of ea3c01e The rationale is that a `|` character preceding a match pattern is not semantically relevant and therefore should be considered a style/formatting choice. A discussion concluded that the best way to emit consistant formatting here was to strip the leading `|` Discussion at rust-lang/style-team#119
- Loading branch information
1 parent
84598bd
commit b6fb2fd
Showing
3 changed files
with
40 additions
and
27 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
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
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