ruby-changes:63216
From: Nobuyoshi <ko1@a...>
Date: Wed, 30 Sep 2020 19:41:25 +0900 (JST)
Subject: [ruby-changes:63216] 9501b34dfc (master): strip trailing spaces [ci skip]
https://git.ruby-lang.org/ruby.git/commit/?id=9501b34dfc From 9501b34dfc118763e93ba6381ec12f2a71a31e01 Mon Sep 17 00:00:00 2001 From: Nobuyoshi Nakada <nobu@r...> Date: Wed, 30 Sep 2020 19:40:18 +0900 Subject: strip trailing spaces [ci skip] diff --git a/ext/-test-/memory_view/memory_view.c b/ext/-test-/memory_view/memory_view.c index 33124e2..116f4ce 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) https://github.com/ruby/ruby/blob/trunk/ext/-test-/memory_view/memory_view.c#L92 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)); } -- cgit v0.10.2 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/