We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8f5338d commit a6e9a10Copy full SHA for a6e9a10
contributing/code/standards.rst
@@ -112,6 +112,9 @@ Structure
112
* Add a blank line before ``return`` statements, unless the return is alone
113
inside a statement-group (like an ``if`` statement);
114
115
+* Use just ``return;`` instead of ``return null;`` when a function must return void
116
+ early;
117
+
118
* Use braces to indicate control structure body regardless of the number of
119
statements it contains;
120
0 commit comments