diff options
| author | Aleksey Kladov <aleksey.kladov@gmail.com> | 2020-02-21 11:22:45 +0100 |
|---|---|---|
| committer | Aleksey Kladov <aleksey.kladov@gmail.com> | 2020-02-21 11:22:45 +0100 |
| commit | 28bf731751ecf248ea891b07c274dadcb3b7f157 (patch) | |
| tree | e43d7323191a992fa8b604b245de333f130569b5 /editors/code/src/commands | |
| parent | 04dacb994349848873f9b2576d53685630883300 (diff) | |
| download | rust-28bf731751ecf248ea891b07c274dadcb3b7f157.tar.gz rust-28bf731751ecf248ea891b07c274dadcb3b7f157.zip | |
enforce camel case
Diffstat (limited to 'editors/code/src/commands')
| -rw-r--r-- | editors/code/src/commands/expand_macro.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/editors/code/src/commands/expand_macro.ts b/editors/code/src/commands/expand_macro.ts index 6fee6eb41ce..edec9bbc132 100644 --- a/editors/code/src/commands/expand_macro.ts +++ b/editors/code/src/commands/expand_macro.ts @@ -31,7 +31,7 @@ interface ExpandedMacro { expansion: string; } -function code_format(expanded: ExpandedMacro): string { +function codeFormat(expanded: ExpandedMacro): string { let result = `// Recursive expansion of ${expanded.name}! macro\n`; result += '// ' + '='.repeat(result.length - 3); result += '\n\n'; @@ -65,7 +65,7 @@ class TextDocumentContentProvider if (expanded == null) return 'Not available'; - return code_format(expanded); + return codeFormat(expanded); } get onDidChange(): vscode.Event<vscode.Uri> { |
