mirror of
https://github.com/ruby/ruby.git
synced 2025-08-15 13:39:04 +02:00
Fix extra 'warning:' prefix for chilled Symbol#to_s
This commit is contained in:
parent
e76d2fddad
commit
3808d29e20
Notes:
git
2024-12-22 06:08:37 +00:00
1 changed files with 1 additions and 1 deletions
2
error.c
2
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)
|
||||
);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue