From 8b540449755ca8e73feb88e708f22fd292ace610 Mon Sep 17 00:00:00 2001 From: tslil Date: Fri, 1 May 2026 11:59:10 +0100 Subject: make parser more lenient, add the one simplex example, fix naming for records --- src/ast.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/ast.rs') diff --git a/src/ast.rs b/src/ast.rs index 24d5b9b..fab1236 100644 --- a/src/ast.rs +++ b/src/ast.rs @@ -176,7 +176,7 @@ pub enum Instance { field: String, }, - #[display("case {} of {{ {} }}", scrutinee, arms.iter().map(|a| a.to_string()).collect::>().join(" | "))] + #[display("case {} of [ {} ]", scrutinee, arms.iter().map(|a| a.to_string()).collect::>().join(" | "))] Case { scrutinee: Box, arms: Vec, -- cgit v1.3.1