(&mut self, ast: &MatchCase)
| 861 | } |
| 862 | |
| 863 | fn unparse_match_case(&mut self, ast: &MatchCase) { |
| 864 | self.p("case "); |
| 865 | self.unparse_pattern(&ast.pattern); |
| 866 | if let Some(guard) = &ast.guard { |
| 867 | self.p(" if "); |
| 868 | self.unparse_expr(guard, precedence::MAX); |
| 869 | } |
| 870 | self.p(":"); |
| 871 | self.body(&ast.body); |
| 872 | } |
| 873 | |
| 874 | fn unparse_type_params(&mut self, type_params: &TypeParams) { |
| 875 | self.p("["); |
nothing calls this directly
no test coverage detected