Skip to content

Commit 3808d29

Browse files
zveroknobu
authored andcommitted
Fix extra 'warning:' prefix for chilled Symbol#to_s
1 parent e76d2fd commit 3808d29

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

error.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4075,7 +4075,7 @@ rb_warn_unchilled_symbol_to_s(VALUE obj)
40754075
{
40764076
rb_category_warn(
40774077
RB_WARN_CATEGORY_DEPRECATED,
4078-
"warning: string returned by :%s.to_s will be frozen in the future", RSTRING_PTR(obj)
4078+
"string returned by :%s.to_s will be frozen in the future", RSTRING_PTR(obj)
40794079
);
40804080
}
40814081

0 commit comments

Comments
 (0)