summaryrefslogtreecommitdiff
path: root/struct.c
diff options
context:
space:
mode:
Diffstat (limited to 'struct.c')
-rw-r--r--struct.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/struct.c b/struct.c
index b6a19e14bb6..6c581f4e0ca 100644
--- a/struct.c
+++ b/struct.c
@@ -310,7 +310,6 @@ struct_inspect(s)
str_cat(str, p, strlen(p));
str_cat(str, "=", 1);
str2 = rb_inspect(RSTRUCT(s)->ptr[i]);
- str2 = obj_as_string(str2);
str_cat(str, RSTRING(str2)->ptr, RSTRING(str2)->len);
}
str_cat(str, ">", 1);