summaryrefslogtreecommitdiff
path: root/re.c
diff options
context:
space:
mode:
Diffstat (limited to 're.c')
-rw-r--r--re.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/re.c b/re.c
index 92eba92d1b..e0878baf2c 100644
--- a/re.c
+++ b/re.c
@@ -1044,7 +1044,7 @@ static void
match_check(VALUE match)
{
if (!RMATCH(match)->regexp) {
- rb_raise(rb_eTypeError, "uninitialized Match");
+ rb_raise(rb_eTypeError, "uninitialized MatchData");
}
}