summaryrefslogtreecommitdiff
path: root/lib/rubygems/text.rb
diff options
context:
space:
mode:
authorKazuhiro NISHIYAMA <[email protected]>2022-04-27 10:11:53 +0900
committerKazuhiro NISHIYAMA <[email protected]>2022-04-27 10:13:23 +0900
commit0bab4c4addef3421f8ff1c45564f4a392b860f15 (patch)
tree10233f5be2533061f6522b515e5be62fba891aba /lib/rubygems/text.rb
parent72628c1ccc5e7d85fe297312d740eed929ab78bb (diff)
[DOC] Change URLs from git.io
see https://github.blog/changelog/2022-04-25-git-io-deprecation/
Diffstat (limited to 'lib/rubygems/text.rb')
-rw-r--r--lib/rubygems/text.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/rubygems/text.rb b/lib/rubygems/text.rb
index acf25a0bcd..d6b891380e 100644
--- a/lib/rubygems/text.rb
+++ b/lib/rubygems/text.rb
@@ -51,7 +51,7 @@ module Gem::Text
# Returns a value representing the "cost" of transforming str1 into str2
# Vendored version of DidYouMean::Levenshtein.distance from the ruby/did_you_mean gem @ 1.4.0
- # https://git.io/JJgZI
+ # https://github.com/ruby/did_you_mean/blob/2ddf39b874808685965dbc47d344cf6c7651807c/lib/did_you_mean/levenshtein.rb#L7-L37
def levenshtein_distance(str1, str2)
n = str1.length
m = str2.length