summaryrefslogtreecommitdiff
path: root/lib/rubygems/resolver/molinillo/lib/molinillo/dependency_graph
diff options
context:
space:
mode:
authorGannon McGibbon <gannon.mcgibbon@gmail.com>2021-01-22 17:15:38 -0500
committerHiroshi SHIBATA <hsbt@ruby-lang.org>2021-01-23 09:50:47 +0900
commit1def8a60045bad5366740f1cb7a10bd1c85460d5 (patch)
tree824d30cc2974590ec7a3ae4f106238d0c0ff21b1 /lib/rubygems/resolver/molinillo/lib/molinillo/dependency_graph
parentdb7d0b89f6eca66cc7eb155c95f9123133da1ffc (diff)
[rubygems/rubygems] Replace "iff" with "whether" and "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" or "whether" should suffice. https://github.com/rubygems/rubygems/commit/88318ebc6d
Diffstat (limited to 'lib/rubygems/resolver/molinillo/lib/molinillo/dependency_graph')
-rw-r--r--lib/rubygems/resolver/molinillo/lib/molinillo/dependency_graph/vertex.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/rubygems/resolver/molinillo/lib/molinillo/dependency_graph/vertex.rb b/lib/rubygems/resolver/molinillo/lib/molinillo/dependency_graph/vertex.rb
index 88b6580a52..f4cc333dd1 100644
--- a/lib/rubygems/resolver/molinillo/lib/molinillo/dependency_graph/vertex.rb
+++ b/lib/rubygems/resolver/molinillo/lib/molinillo/dependency_graph/vertex.rb
@@ -128,7 +128,7 @@ module Gem::Resolver::Molinillo
# Is there a path from `self` to `other` following edges in the
# dependency graph?
- # @return true iff there is a path following edges within this {#graph}
+ # @return whether there is a path following edges within this {#graph}
def path_to?(other)
_path_to?(other)
end