mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-29 13:25:09 +00:00
enforce camel case
This commit is contained in:
parent
04dacb9943
commit
28bf731751
4 changed files with 8 additions and 6 deletions
|
@ -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> {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue