17 lines
181 B
Markdown
17 lines
181 B
Markdown
|
|
||
|
Prevents the use of `/* C-style */` comments inside methods.
|
||
|
|
||
|
Valid:
|
||
|
````
|
||
|
void doSomething() {
|
||
|
// a comment
|
||
|
}
|
||
|
````
|
||
|
|
||
|
Invalid:
|
||
|
````
|
||
|
void doSomething() {
|
||
|
/* invalid */
|
||
|
}
|
||
|
````
|