summary refs log tree commit diff
diff options
context:
space:
mode:
authorChristian Neukirchen <chneukirchen@gmail.com>2016-09-07 20:28:07 +0200
committerChristian Neukirchen <chneukirchen@gmail.com>2016-09-07 20:28:07 +0200
commit217ddd032e4d465952484e563b5f779d8f812268 (patch)
treeb69ae3cb6706a482ee259feadbf582da490af2df
parent8f28988793600a9f64de89d87de6df8f2ba602ca (diff)
downloadstyleguide-217ddd032e4d465952484e563b5f779d8f812268.tar.gz
styleguide-217ddd032e4d465952484e563b5f779d8f812268.tar.xz
styleguide-217ddd032e4d465952484e563b5f779d8f812268.zip
C-STYLE: Yoda conditions
-rw-r--r--C-STYLE.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/C-STYLE.md b/C-STYLE.md
index 7119800..b60fdd9 100644
--- a/C-STYLE.md
+++ b/C-STYLE.md
@@ -130,7 +130,7 @@ but merely how to format it.
   * Do not use `!strcmp(a, b)`.
   * Use `if (!p) ...` to check whether `p` is a null pointer.
 
-* Don't use Yoda comparison (`0 == x`).
+* Don't use Yoda conditions (`0 == x`).
 
 * Use a plain `;` on a line of itself for the empty instruction.