From 68cd970a1feec3f569483370dfd257afbd92097a Mon Sep 17 00:00:00 2001 From: Artemy Egorov Date: Fri, 9 Aug 2024 21:03:40 +0300 Subject: [PATCH] fix: number argument formatting for anchor --- src/daleth/format.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/daleth/format.rs b/src/daleth/format.rs index 2b83a37..0c242ce 100644 --- a/src/daleth/format.rs +++ b/src/daleth/format.rs @@ -16,7 +16,7 @@ fn additional_str<'src>( match current { Token::NumberArgument(_) => { - if let Token::H = last1 { + if [Token::H, Token::A].contains(last1) { return ""; } else { return " ";