commit 97846e446726de8d9d2ac77ca838d9e855d7ce63
parent 237fd35a61715e7bb04a91d31e0f84380d5e85c0
Author: Drew DeVault <sir@cmpwn.com>
Date: Wed, 1 Sep 2021 14:04:13 +0200
haredoc: fix enum unparse in -Ftty
Signed-off-by: Drew DeVault <sir@cmpwn.com>
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/cmd/haredoc/tty.ha b/cmd/haredoc/tty.ha
@@ -241,7 +241,7 @@ fn type_tty(
"\x1b[36m" "{}" "\x1b[0m",
builtin_type(e.storage))?;
};
- n += fmt::fprint(out, "{")?;
+ n += fmt::fprint(out, " {")?;
indent += 1;
for (let i = 0z; i < len(e.values); i += 1) {
n += newline(out, indent)?;