summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/ruby/ruby.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/ruby/ruby.h b/include/ruby/ruby.h
index 8a5aacb42b..57b5075ffd 100644
--- a/include/ruby/ruby.h
+++ b/include/ruby/ruby.h
@@ -2569,7 +2569,7 @@ rb_scan_args_set(int argc, const VALUE *argv,
if (!keyword_given) {
/* Warn if treating positional as keyword, as in Ruby 3,
this will be an error */
- rb_warn("The last argument is used as the keyword parameter");
+ rb_warn("The last argument is used as keyword parameters");
}
argc--;
}