hare

The Hare programming language
git clone https://git.torresjrjr.com/hare.git
Log | Files | Refs | README | LICENSE

commit 326da86c47437fa35796bf23e887b30b1101c371
parent 99bd4878dce080c8e0d47ba1b1ff7cb67fa08765
Author: Drew DeVault <sir@cmpwn.com>
Date:   Thu, 14 Apr 2022 10:44:13 +0200

haredoc: fix too many fmt args for index

Signed-off-by: Drew DeVault <sir@cmpwn.com>

Diffstat:
Mcmd/haredoc/html.ha | 8++------
1 file changed, 2 insertions(+), 6 deletions(-)

diff --git a/cmd/haredoc/html.ha b/cmd/haredoc/html.ha @@ -76,13 +76,9 @@ fn emit_html(ctx: *context) (void | error) = { if (ctx.template) head(ctx.ident)?; if (len(ident) == 0) { - fmt::fprintf(ctx.out, - "<h2>The Hare standard library <span class='heading-extra'>", - ident)?; + fmt::fprintf(ctx.out, "<h2>The Hare standard library <span class='heading-extra'>")?; } else { - fmt::fprintf(ctx.out, - "<h2>{} <span class='heading-extra'>", - ident)?; + fmt::fprintf(ctx.out, "<h2>{} <span class='heading-extra'>", ident)?; }; for (let i = 0z; i < len(ctx.tags); i += 1) { const mode = switch (ctx.tags[i].mode) {