* array.c (rb_ary_bsearch): Fix r38986 (missing whitespace)
* range.c (range_bsearch): ditto git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38987 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
20c0fb69d6
commit
a7938af19c
2
array.c
2
array.c
@ -2463,7 +2463,7 @@ rb_ary_bsearch(VALUE ary)
|
|||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
rb_raise(rb_eTypeError, "wrong argument type %s"
|
rb_raise(rb_eTypeError, "wrong argument type %s"
|
||||||
"(must respond be numeric, true, false or nil)",
|
" (must respond be numeric, true, false or nil)",
|
||||||
rb_obj_classname(v));
|
rb_obj_classname(v));
|
||||||
}
|
}
|
||||||
if (smaller) {
|
if (smaller) {
|
||||||
|
2
range.c
2
range.c
@ -596,7 +596,7 @@ range_bsearch(VALUE range)
|
|||||||
} \
|
} \
|
||||||
else { \
|
else { \
|
||||||
rb_raise(rb_eTypeError, "wrong argument type %s" \
|
rb_raise(rb_eTypeError, "wrong argument type %s" \
|
||||||
"(must respond be numeric, true, false or nil)", \
|
" (must respond be numeric, true, false or nil)", \
|
||||||
rb_obj_classname(v)); \
|
rb_obj_classname(v)); \
|
||||||
} \
|
} \
|
||||||
} while (0)
|
} while (0)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user