commit 9cb2a690394c8f8000bee28cd00c8a220de0bf88
parent 9d05b28f75ccf8691fb33291ac60b0092eb70f37
Author: kylo252 <59826753+kylo252@users.noreply.github.com>
Date: Sat, 15 Oct 2022 11:55:55 +0200
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.
Diffstat:
1 file changed, 0 insertions(+), 7 deletions(-)
diff --git a/runtime/doc/dev_style.txt b/runtime/doc/dev_style.txt
@@ -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. >