mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
Adjust indent and nesting [ci skip]
This commit is contained in:
parent
9108db961d
commit
dfc8060756
1 changed files with 1 additions and 3 deletions
4
gc.c
4
gc.c
|
@ -13604,13 +13604,11 @@ rb_raw_obj_info(char *buff, const int buff_size, VALUE obj)
|
|||
else if (RBASIC(obj)->klass == 0) {
|
||||
APPENDF((BUFF_ARGS, "(temporary internal)"));
|
||||
}
|
||||
else {
|
||||
if (RTEST(RBASIC(obj)->klass)) {
|
||||
else if (RTEST(RBASIC(obj)->klass)) {
|
||||
VALUE class_path = rb_class_path_cached(RBASIC(obj)->klass);
|
||||
if (!NIL_P(class_path)) {
|
||||
APPENDF((BUFF_ARGS, "(%s)", RSTRING_PTR(class_path)));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
#if GC_DEBUG
|
||||
|
|
Loading…
Add table
Reference in a new issue