summaryrefslogtreecommitdiff
path: root/vm_method.c
diff options
context:
space:
mode:
Diffstat (limited to 'vm_method.c')
-rw-r--r--vm_method.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/vm_method.c b/vm_method.c
index df22e735aa..d925e4f2fb 100644
--- a/vm_method.c
+++ b/vm_method.c
@@ -2113,7 +2113,7 @@ rb_method_definition_eq(const rb_method_definition_t *d1, const rb_method_defini
case VM_METHOD_TYPE_ALIAS:
break;
}
- rb_bug("rb_method_definition_eq: unsupported type: %d\n", d1->type);
+ rb_bug("rb_method_definition_eq: unsupported type: %d", d1->type);
}
static st_index_t
@@ -2148,7 +2148,7 @@ rb_hash_method_definition(st_index_t hash, const rb_method_definition_t *def)
case VM_METHOD_TYPE_ALIAS:
break; /* unreachable */
}
- rb_bug("rb_hash_method_definition: unsupported method type (%d)\n", def->type);
+ rb_bug("rb_hash_method_definition: unsupported method type (%d)", def->type);
}
st_index_t