Rename PatKind::Lit to Expr

This commit is contained in:
Oli Scherer
2025-01-07 08:56:23 +00:00
parent c9365dd09f
commit 4a8773a3af
45 changed files with 79 additions and 79 deletions

View File

@@ -1980,7 +1980,7 @@ impl<'a> State<'a> {
self.pclose();
}
}
PatKind::Lit(e) => self.print_pat_expr(e),
PatKind::Expr(e) => self.print_pat_expr(e),
PatKind::Range(begin, end, end_kind) => {
if let Some(expr) = begin {
self.print_pat_expr(expr);