summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorcui fliter <imcusg@gmail.com>2024-03-05 17:50:47 +0800
committerGitHub <noreply@github.com>2024-03-05 18:50:47 +0900
commit226a889dc7688cbd0c96cce1005adbda69b03ec4 (patch)
tree05c10b3582b7533059f967ef55dba9b6d283377b /lib
parent8e27c01fbb36d5020bb465e17a19a3bad35144ef (diff)
[DOC] fix some comments
Signed-off-by: cui fliter <imcusg@gmail.com>
Diffstat (limited to 'lib')
-rw-r--r--lib/rubygems/ext/cargo_builder.rb2
-rw-r--r--lib/rubygems/vendor/molinillo/lib/molinillo/resolution.rb2
-rw-r--r--lib/rubygems/vendor/resolv/lib/resolv.rb2
3 files changed, 3 insertions, 3 deletions
diff --git a/lib/rubygems/ext/cargo_builder.rb b/lib/rubygems/ext/cargo_builder.rb
index 43973a975a..86a0e73f28 100644
--- a/lib/rubygems/ext/cargo_builder.rb
+++ b/lib/rubygems/ext/cargo_builder.rb
@@ -292,7 +292,7 @@ EOF
case var_name
# On windows, it is assumed that mkmf has setup an exports file for the
- # extension, so we have to to create one ourselves.
+ # extension, so we have to create one ourselves.
when "DEFFILE"
write_deffile(dest_dir, crate_name)
else
diff --git a/lib/rubygems/vendor/molinillo/lib/molinillo/resolution.rb b/lib/rubygems/vendor/molinillo/lib/molinillo/resolution.rb
index 5cfc6e3a0d..84ec6cb095 100644
--- a/lib/rubygems/vendor/molinillo/lib/molinillo/resolution.rb
+++ b/lib/rubygems/vendor/molinillo/lib/molinillo/resolution.rb
@@ -103,7 +103,7 @@ module Gem::Molinillo
# @return [Boolean] where the requirement of the state we're unwinding
# to directly caused the conflict. Note: in this case, it is
- # impossible for the state we're unwinding to to be a parent of
+ # impossible for the state we're unwinding to be a parent of
# any of the other conflicting requirements (or we would have
# circularity)
def unwinding_to_primary_requirement?
diff --git a/lib/rubygems/vendor/resolv/lib/resolv.rb b/lib/rubygems/vendor/resolv/lib/resolv.rb
index 1209d5167a..8e31eb1bee 100644
--- a/lib/rubygems/vendor/resolv/lib/resolv.rb
+++ b/lib/rubygems/vendor/resolv/lib/resolv.rb
@@ -2771,7 +2771,7 @@ class Gem::Resolv
attr_reader :target
##
- # The service paramters for the target host.
+ # The service parameters for the target host.
attr_reader :params