Pretty print module elems

This commit is contained in:
Joscha 2022-11-21 00:17:51 +01:00
parent b3eaa40902
commit 9d6cd580d4

View file

@ -23,7 +23,7 @@ impl<'a, D: DocAllocator<'a>> Pretty<'a, D> for Program {
.append(allocator.line())
.append(elems.pretty(
allocator,
|a, e| a.text("<elem>"),
|a, e| e.pretty(a),
|a, (s0, s1)| a.text(",").append(a.line()),
|a, s| a.text(","),
)),