summaryrefslogtreecommitdiff
path: root/range.c
diff options
context:
space:
mode:
authormarcandre <marcandre@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-01-30 06:07:29 (GMT)
committermarcandre <marcandre@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-01-30 06:07:29 (GMT)
commit69adf990e1d05603b43c6da660870ea5b9ecef49 (patch)
tree110b97c7406a1f5abadebf6f01c20c92853db1ff /range.c
parenta7938af19c540c0f3bbd631889d936c2b0d5707b (diff)
* array.c (rb_ary_bsearch): Fix r38986 (typo) [Bug #7726]
* range.c (range_bsearch): ditto git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38988 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'range.c')
-rw-r--r--range.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/range.c b/range.c
index 693920b..87e013d 100644
--- a/range.c
+++ b/range.c
@@ -596,7 +596,7 @@ range_bsearch(VALUE range)
} \
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)); \
} \
} while (0)