Skip to content

Commit cb08f5d

Browse files
vsemozhetbytMylesBorins
authored andcommitted
tools: remove unneeded parentheses in doc/html.js
PR-URL: #16845 Ref: #16801 (comment) Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Jeremiah Senkpiel <fishrock123@rocketmail.com> Reviewed-By: Rich Trott <rtrott@gmail.com>
1 parent b166b6b commit cb08f5d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tools/doc/html.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -518,7 +518,7 @@ function getId(text) {
518518
text = text.replace(/^_+|_+$/, '');
519519
text = text.replace(/^([^a-z])/, '_$1');
520520
if (idCounters.hasOwnProperty(text)) {
521-
text += `_${(++idCounters[text])}`;
521+
text += `_${++idCounters[text]}`;
522522
} else {
523523
idCounters[text] = 0;
524524
}

0 commit comments

Comments
 (0)