From 9cb2a690394c8f8000bee28cd00c8a220de0bf88 Mon Sep 17 00:00:00 2001 From: kylo252 <59826753+kylo252@users.noreply.github.com> Date: Sat, 15 Oct 2022 11:55:55 +0200 Subject: 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. --- runtime/doc/dev_style.txt | 7 ------- 1 file changed, 7 deletions(-) diff --git a/runtime/doc/dev_style.txt b/runtime/doc/dev_style.txt index 6d832219f6..733b9c50c3 100644 --- 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. > -- cgit