Skip to content

Commit 8ad5a0a

Browse files
etiennebarriebyroot
authored andcommitted
[DOC] Fix typos in comments
1 parent e19bb99 commit 8ad5a0a

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

include/ruby/internal/core/robject.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@
5555
*/
5656
enum ruby_robject_flags {
5757
/**
58-
* This flag has marks that the object's instance variables are stored in an
58+
* This flag marks that the object's instance variables are stored in an
5959
* external heap buffer.
6060
* Normally, instance variable references are stored inside the object slot,
6161
* but if it overflow, Ruby may have to allocate a separate buffer and spills

pathname_builtin.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -321,7 +321,7 @@ def sub_ext(repl)
321321
end
322322

323323
if File.dirname('A:') == 'A:.' # DOSish drive letter
324-
# Regexp that matches an absoltute path.
324+
# Regexp that matches an absolute path.
325325
ABSOLUTE_PATH = /\A(?:[A-Za-z]:|#{SEPARATOR_PAT})/
326326
else
327327
ABSOLUTE_PATH = /\A#{SEPARATOR_PAT}/

0 commit comments

Comments
 (0)