[DOC] Fix typos in comments

This commit is contained in:
Étienne Barrié 2025-09-15 11:51:12 +02:00 committed by Jean Boussier
parent e19bb99347
commit 8ad5a0a8d9
2 changed files with 2 additions and 2 deletions

View File

@ -55,7 +55,7 @@
*/
enum ruby_robject_flags {
/**
* This flag has marks that the object's instance variables are stored in an
* This flag marks that the object's instance variables are stored in an
* external heap buffer.
* Normally, instance variable references are stored inside the object slot,
* but if it overflow, Ruby may have to allocate a separate buffer and spills

View File

@ -321,7 +321,7 @@ class Pathname
end
if File.dirname('A:') == 'A:.' # DOSish drive letter
# Regexp that matches an absoltute path.
# Regexp that matches an absolute path.
ABSOLUTE_PATH = /\A(?:[A-Za-z]:|#{SEPARATOR_PAT})/
else
ABSOLUTE_PATH = /\A#{SEPARATOR_PAT}/