Skip to content

Commit 228b411

Browse files
committed
Add comment for empty rb_check_trusted function.
1 parent 5408b1e commit 228b411

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/main/c/cext/ruby.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3480,6 +3480,7 @@ void rb_error_untrusted(VALUE obj) {
34803480
}
34813481

34823482
void rb_check_trusted(VALUE obj) {
3483+
// This function intentionally does nothing to match MRI.
34833484
}
34843485

34853486
void rb_check_copyable(VALUE obj, VALUE orig) {

0 commit comments

Comments
 (0)