summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--parse/type.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/parse/type.c b/parse/type.c
index 92ee360..392161c 100644
--- a/parse/type.c
+++ b/parse/type.c
@@ -414,7 +414,7 @@ static int tybfmt(char *buf, size_t len, Type *t)
break;
case Tyslice:
p += tybfmt(p, end - p, t->sub[0]);
- p += snprintf(p, end - p, "[,]");
+ p += snprintf(p, end - p, "[:]");
break;
case Tyarray:
p += tybfmt(p, end - p, t->sub[0]);