Skip to content

Commit 8ceac05

Browse files
committed
Updated Yoda condition caption as suggested by Javier Eguiluz.
1 parent e1bcab0 commit 8ceac05

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

contributing/code/standards.rst

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -172,9 +172,8 @@ Service Naming Conventions
172172
Conditions
173173
----------
174174

175-
Use `Yoda condition`_ when you need to check a variable against a value.
176-
The main goal with this syntax is to avoid an accidental assignment inside the
177-
condition statements:
175+
Use `Yoda condition`_ when checking a variable against a value to avoid an
176+
accidental assignment inside the condition statements:
178177

179178
instead of:
180179

0 commit comments

Comments
 (0)