From 613e008593f1caa0b799c1ca5048bd50d28190fd Mon Sep 17 00:00:00 2001 From: Ryo Yoshida Date: Sun, 2 Apr 2023 19:45:39 +0900 Subject: Don't append "!" to non-bang macro name --- editors/code/src/commands.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'editors/code/src') diff --git a/editors/code/src/commands.ts b/editors/code/src/commands.ts index 486127d005a..7a8490e4767 100644 --- a/editors/code/src/commands.ts +++ b/editors/code/src/commands.ts @@ -699,7 +699,7 @@ export function viewFullCrateGraph(ctx: CtxInit): Cmd { // The contents of the file come from the `TextDocumentContentProvider` export function expandMacro(ctx: CtxInit): Cmd { function codeFormat(expanded: ra.ExpandedMacro): string { - let result = `// Recursive expansion of ${expanded.name}! macro\n`; + let result = `// Recursive expansion of ${expanded.name} macro\n`; result += "// " + "=".repeat(result.length - 3); result += "\n\n"; result += expanded.expansion; -- cgit 1.4.1-3-g733a5