Skip to content

Commit b3d5a97

Browse files
authored
Merge pull request #280 from ruby-go-gem/fix_typo
Fix typo in godoc
2 parents 7ac96ac + 7512f2e commit b3d5a97

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

ruby/ruby_internal_arithmetic_int.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,12 @@ import "C"
77

88
// c.f. https://github.com/ruby/ruby/blob/master/include/ruby/internal/arithmetic/int.h
99

10-
// NUM2INT is alias to [RbNum2intInline]
10+
// NUM2INT is alias to [RbNum2IntInline]
1111
func NUM2INT(x VALUE) int {
1212
return RbNum2IntInline(x)
1313
}
1414

15-
// INT2NUM is alias to [RbInt2numInline]
15+
// INT2NUM is alias to [RbInt2NumInline]
1616
func INT2NUM(v int) VALUE {
1717
return RbInt2NumInline(v)
1818
}

ruby/ruby_internal_arithmetic_long.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,12 @@ import "C"
77

88
// c.f. https://github.com/ruby/ruby/blob/master/include/ruby/internal/arithmetic/long.h
99

10-
// NUM2LONG is alias to [RbNum2long]
10+
// NUM2LONG is alias to [RbNum2Long]
1111
func NUM2LONG(num VALUE) Long {
1212
return RbNum2Long(num)
1313
}
1414

15-
// LONG2NUM is alias to [RbLong2numInline]
15+
// LONG2NUM is alias to [RbLong2NumInline]
1616
func LONG2NUM(v Long) VALUE {
1717
return RbLong2NumInline(v)
1818
}

0 commit comments

Comments
 (0)