Match patterns

This commit is contained in:
2026-05-07 23:33:27 +02:00
parent bd066e05d1
commit c7ada72029
5 changed files with 16 additions and 6 deletions
+1
View File
@@ -666,6 +666,7 @@ impl GetRust for Pattern {
match self {
Self::Id(id) => id.get_rust(),
Self::Path(path) => path.get_rust(),
Self::Literal(lit) => lit.get_rust(),
Self::Struct(path, ids) => format!(
"{} {{{}}}",
path.get_rust(),