summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ext/-test-/memory_view/memory_view.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/-test-/memory_view/memory_view.c b/ext/-test-/memory_view/memory_view.c
index 33124e25518..116f4ce5e31 100644
--- a/ext/-test-/memory_view/memory_view.c
+++ b/ext/-test-/memory_view/memory_view.c
@@ -92,7 +92,7 @@ memory_view_item_size_from_format(VALUE mod, VALUE format)
ssize_t item_size = rb_memory_view_item_size_from_format(c_str, &err);
if (!err)
return rb_assoc_new(SSIZET2NUM(item_size), Qnil);
- else
+ else
return rb_assoc_new(SSIZET2NUM(item_size), rb_str_new_cstr(err));
}