Returns `true` if the parentheses are for a list pattern e.g., `case [a, b]: ...`.
(self)
| 698 | |
| 699 | /// Returns `true` if the parentheses are for a list pattern e.g., `case [a, b]: ...`. |
| 700 | const fn is_list(self) -> bool { |
| 701 | matches!(self, SequenceMatchPatternParentheses::List) |
| 702 | } |
| 703 | } |
| 704 | |
| 705 | #[derive(Debug, PartialEq, Copy, Clone)] |
no outgoing calls
no test coverage detected