summaryrefslogtreecommitdiff
path: root/include/ruby/assert.h
diff options
context:
space:
mode:
authorGannon McGibbon <[email protected]>2021-01-06 12:20:03 -0500
committerAaron Patterson <[email protected]>2021-01-19 12:06:45 -0800
commit9e0075a3d902aa5236bbfdc0ad0d3028a55dc17e (patch)
tree4c0a885269e1b6332027527fbbb9689ba045c256 /include/ruby/assert.h
parenta8dc5156e183489c5121fb1759bda5d9406d9175 (diff)
Replace "iff" with "if and only if"
iff means if and only if, but readers without that knowledge might assume this to be a spelling mistake. To me, this seems like exclusionary language that is unnecessary. Simply using "if and only if" instead should suffice.
Notes
Notes: Merged: https://github.com/ruby/ruby/pull/4035
Diffstat (limited to 'include/ruby/assert.h')
-rw-r--r--include/ruby/assert.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/ruby/assert.h b/include/ruby/assert.h
index 9b70d7103e..b0bbdd2c14 100644
--- a/include/ruby/assert.h
+++ b/include/ruby/assert.h
@@ -167,7 +167,7 @@ RBIMPL_SYMBOL_EXPORT_END()
#define RUBY_ASSERT_ALWAYS(expr) RUBY_ASSERT_MESG((expr), #expr)
/**
- * Asserts that the given expression is truthy iff #RUBY_DEBUG is truthy.
+ * Asserts that the given expression is truthy if and only if #RUBY_DEBUG is truthy.
*
* @param expr What supposedly evaluates to true.
*/