diff options
author | kylo252 <59826753+kylo252@users.noreply.github.com> | 2022-10-15 11:55:55 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-10-15 11:55:55 +0200 |
commit | 9cb2a690394c8f8000bee28cd00c8a220de0bf88 (patch) | |
tree | 8d5e428b1530345d4acb41120c4977456e88ebd4 | |
parent | 9d05b28f75ccf8691fb33291ac60b0092eb70f37 (diff) | |
download | rneovim-9cb2a690394c8f8000bee28cd00c8a220de0bf88.tar.gz rneovim-9cb2a690394c8f8000bee28cd00c8a220de0bf88.tar.bz2 rneovim-9cb2a690394c8f8000bee28cd00c8a220de0bf88.zip |
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.
-rw-r--r-- | runtime/doc/dev_style.txt | 7 |
1 files changed, 0 insertions, 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. > |