Add missing carets when dumping builtin list
This commit is contained in:
parent
0f6d2487ec
commit
700e9cab5b
|
@ -195,7 +195,9 @@ impl Constant {
|
||||||
.append(RcDoc::text(if *b { "True" } else { "False" })),
|
.append(RcDoc::text(if *b { "True" } else { "False" })),
|
||||||
Constant::ProtoList(r#type, items) => RcDoc::text("list")
|
Constant::ProtoList(r#type, items) => RcDoc::text("list")
|
||||||
.append(RcDoc::line_())
|
.append(RcDoc::line_())
|
||||||
|
.append(RcDoc::text("<"))
|
||||||
.append(r#type.to_doc())
|
.append(r#type.to_doc())
|
||||||
|
.append(RcDoc::text(">"))
|
||||||
.append(RcDoc::line())
|
.append(RcDoc::line())
|
||||||
.append(RcDoc::text("["))
|
.append(RcDoc::text("["))
|
||||||
.append(RcDoc::intersperse(
|
.append(RcDoc::intersperse(
|
||||||
|
|
Loading…
Reference in New Issue