1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

[ruby/net-http] 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.

ffb87cad32
This commit is contained in:
Gannon McGibbon 2021-01-20 20:16:22 -05:00 committed by Hiroshi SHIBATA
parent 47d6c55755
commit 37258b64c7
No known key found for this signature in database
GPG key ID: F9CF13417264FAC2

View file

@ -524,7 +524,7 @@ module Net #:nodoc:
#
# { "cmd" => "search", "q" => "ruby", "max" => "50" }
#
# This method also does Basic Authentication iff +url+.user exists.
# This method also does Basic Authentication if and only if +url+.user exists.
# But userinfo for authentication is deprecated (RFC3986).
# So this feature will be removed.
#