Format PatternMatchSingleton (#6741)

This commit is contained in:
Victor Hugo Gomes 2023-08-22 03:23:47 -03:00 committed by GitHub
parent fa32cd9b6f
commit 0f9ccfcad9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 63 additions and 8 deletions

View file

@ -141,3 +141,20 @@ match pattern_comments:
no_comments
):
pass
match pattern_singleton:
case (
# leading 1
# leading 2
None # trailing
# trailing own 1
# trailing own 2
):
pass
case (
True # trailing
):
...
case False:
...