docs(dev-style): remove rule about variable declarations (#20446)

The other style rules such as "initialize variables in the declaration" should already take care of this rule automatically.
This commit is contained in:
kylo252
2022-10-15 11:55:55 +02:00
committed by GitHub
parent 9d05b28f75
commit 9cb2a69039

View File

@@ -181,13 +181,6 @@ Use `bool` to represent boolean values. >
int loaded = 1; // BAD: loaded should have type bool.
Variable declarations ~
Declare only one variable per line. >
int i, j = 1
Conditions ~
Don't use "yoda-conditions". Use at most one assignment per condition. >