Skip to content

Commit ffb87ca

Browse files
committed
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.
1 parent d9ba437 commit ffb87ca

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/net/http.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -524,7 +524,7 @@ def HTTP.post(url, data, header = nil)
524524
#
525525
# { "cmd" => "search", "q" => "ruby", "max" => "50" }
526526
#
527-
# This method also does Basic Authentication iff +url+.user exists.
527+
# This method also does Basic Authentication if and only if +url+.user exists.
528528
# But userinfo for authentication is deprecated (RFC3986).
529529
# So this feature will be removed.
530530
#

0 commit comments

Comments
 (0)