summaryrefslogtreecommitdiff
path: root/array.c
diff options
context:
space:
mode:
Diffstat (limited to 'array.c')
-rw-r--r--array.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/array.c b/array.c
index 271e2187e6..a7c74a2aa4 100644
--- a/array.c
+++ b/array.c
@@ -2463,7 +2463,7 @@ rb_ary_bsearch(VALUE ary)
}
else {
rb_raise(rb_eTypeError, "wrong argument type %s"
- " (must respond be numeric, true, false or nil)",
+ " (must be numeric, true, false or nil)",
rb_obj_classname(v));
}
if (smaller) {