Closed
Description
The following code:
fn is_meta_character(c: char) -> bool {
matches!(
c,
'\\' | '.' | '+' | '(' | ')' | '|' | '[' | ']' | '{' | '}' | '^' |
'$' | '#' | '&' | '-' | '~' | '*' | '?'
)
}
gets formatted into
fn is_meta_character(c: char) -> bool {
matches!(
c,
'\\' | '.'
| '+'
| '('
| ')'
| '|'
| '['
| ']'
| '{'
| '}'
| '^'
| '$'
| '#'
| '&'
| '-'
| '~'
| '*'
| '?'
)
}
I see two issues with this. First, horizontal bars are misaligned, and second it's a big waste of vertical space. I did not have time to gather more info as of now but will update this issue if I get back to it.
Thanks!
Metadata
Metadata
Assignees
Labels
No labels