Skip to content

Commit 0dc269d

Browse files
authored
Merge pull request #499 from p8/docs/link-to-official-docs
Link to official Ruby documentation
2 parents 252cf48 + 5fb9098 commit 0dc269d

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -188,7 +188,7 @@ result too, raising a `LoadError` without touching the filesystem at all.
188188

189189
Ruby has complex grammar and parsing it is not a particularly cheap operation. Since 1.9, Ruby has
190190
translated ruby source to an internal bytecode format, which is then executed by the Ruby VM. Since
191-
2.3.0, Ruby [exposes an API](https://ruby-doc.org/core-2.3.0/RubyVM/InstructionSequence.html) that
191+
2.3.0, Ruby [exposes an API](https://docs.ruby-lang.org/en/master/RubyVM/InstructionSequence.html) that
192192
allows caching that bytecode. This allows us to bypass the relatively-expensive compilation step on
193193
subsequent loads of the same file.
194194

lib/bootsnap/load_path_cache/loaded_features_index.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ def register(short, long)
142142
# will _never_ run on MacOS, and therefore think they can get away
143143
# with calling a Ruby file 'x.dylib.rb' and then requiring it as 'x.dylib'.)
144144
#
145-
# See <https://ruby-doc.org/core-2.6.4/Kernel.html#method-i-require>.
145+
# See <https://docs.ruby-lang.org/en/master/Kernel.html#method-i-require>.
146146
def extension_elidable?(feature)
147147
feature.to_s.end_with?(".rb", ".so", ".o", ".dll", ".dylib")
148148
end

0 commit comments

Comments
 (0)