From cb5bf6afe770af7e810bd746fb01879787df0004 Mon Sep 17 00:00:00 2001 From: theseanl Date: Tue, 23 Jan 2024 02:27:02 +0900 Subject: [PATCH] chore: simplify variable name --- .../unified-latex-util-arguments/libs/gobble-arguments.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/unified-latex-util-arguments/libs/gobble-arguments.ts b/packages/unified-latex-util-arguments/libs/gobble-arguments.ts index 70eedced..b1fead6a 100644 --- a/packages/unified-latex-util-arguments/libs/gobble-arguments.ts +++ b/packages/unified-latex-util-arguments/libs/gobble-arguments.ts @@ -36,9 +36,9 @@ export function gobbleArguments( // We need special behavior for embellishment argspecs. // Because an embellishment argspec specifies more than one argument, // we need to keep gobbling arguments until we've got them all. - const { tokens: embellishmentTokens } = spec; + const { tokens } = spec; - const remainingTokens = new Set(embellishmentTokens); + const remainingTokens = new Set(tokens); const tokenToArgs = new Map(); for (;;) {