summaryrefslogtreecommitdiff
path: root/error.c
diff options
context:
space:
mode:
authorzverok <[email protected]>2024-12-21 20:33:13 +0200
committerNobuyoshi Nakada <[email protected]>2024-12-22 15:08:19 +0900
commit3808d29e2001c374f3bcda32a42519d6c28e5d09 (patch)
tree91abd146b8ca7104278e3a9df3f9e4f7a7a937e3 /error.c
parente76d2fddad7829ad5e2d36455b68e1025bbfbf33 (diff)
Fix extra 'warning:' prefix for chilled Symbol#to_s
Notes
Notes: Merged: https://github.com/ruby/ruby/pull/12423
Diffstat (limited to 'error.c')
-rw-r--r--error.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/error.c b/error.c
index 4a31b8529c..d69a342a9b 100644
--- a/error.c
+++ b/error.c
@@ -4075,7 +4075,7 @@ rb_warn_unchilled_symbol_to_s(VALUE obj)
{
rb_category_warn(
RB_WARN_CATEGORY_DEPRECATED,
- "warning: string returned by :%s.to_s will be frozen in the future", RSTRING_PTR(obj)
+ "string returned by :%s.to_s will be frozen in the future", RSTRING_PTR(obj)
);
}