diff options
| author | tslil <tslil@posteo.de> | 2026-05-01 11:59:10 +0100 |
|---|---|---|
| committer | tslil <tslil@posteo.de> | 2026-05-01 12:29:19 +0100 |
| commit | 8b540449755ca8e73feb88e708f22fd292ace610 (patch) | |
| tree | 29d9d2b8e41b2715a5deb55109cba6a42de341c7 /src/ast.rs | |
| parent | 8839959fd05a04f2d37461ab842d23107b104d20 (diff) | |
make parser more lenient, add the one simplex example, fix naming for records
Diffstat (limited to 'src/ast.rs')
| -rw-r--r-- | src/ast.rs | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -176,7 +176,7 @@ pub enum Instance { field: String, }, - #[display("case {} of {{ {} }}", scrutinee, arms.iter().map(|a| a.to_string()).collect::<Vec<_>>().join(" | "))] + #[display("case {} of [ {} ]", scrutinee, arms.iter().map(|a| a.to_string()).collect::<Vec<_>>().join(" | "))] Case { scrutinee: Box<Element>, arms: Vec<InstCaseArm>, |
