mirror of
https://github.com/ruby/ruby.git
synced 2026-01-26 20:19:19 +00:00
[DOC] Fix typos in comments
This commit is contained in:
parent
e19bb99347
commit
8ad5a0a8d9
@ -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
|
||||
|
||||
@ -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}/
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user