diff options
| author | Ryo Yoshida <low.ryoshida@gmail.com> | 2023-04-02 19:45:39 +0900 |
|---|---|---|
| committer | Ryo Yoshida <low.ryoshida@gmail.com> | 2023-04-02 20:13:34 +0900 |
| commit | 613e008593f1caa0b799c1ca5048bd50d28190fd (patch) | |
| tree | b37bb4a5dff974fa292d9572839773a43abeeea0 /editors/code | |
| parent | 1ebac28f0d47341173a1271b050e4a07693c8bc6 (diff) | |
| download | rust-613e008593f1caa0b799c1ca5048bd50d28190fd.tar.gz rust-613e008593f1caa0b799c1ca5048bd50d28190fd.zip | |
Don't append "!" to non-bang macro name
Diffstat (limited to 'editors/code')
| -rw-r--r-- | editors/code/src/commands.ts | 2 |
1 files changed, 1 insertions, 1 deletions
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; |
