Skip to content

Commit

Permalink
Update Symbol From_Ruby#is_convertible to note converting from string…
Browse files Browse the repository at this point in the history
… is a typecast.
  • Loading branch information
cfis committed Dec 9, 2024
1 parent 58f8d63 commit 0225ff5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rice/cpp_api/Symbol.ipp
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ namespace Rice::detail
return Convertible::Exact;
break;
case RUBY_T_STRING:
return Convertible::Exact;
return Convertible::TypeCast;
break;
default:
return Convertible::None;
Expand Down

0 comments on commit 0225ff5

Please sign in to comment.